Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
923e2dc6
Commit
923e2dc6
authored
Jun 07, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move z-index to a constant and explain it in a comment
parent
ba267b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ee/app/assets/javascripts/threat_monitoring/components/policy_drawer/network_policy_drawer.vue
...toring/components/policy_drawer/network_policy_drawer.vue
+4
-1
No files found.
ee/app/assets/javascripts/threat_monitoring/components/policy_drawer/network_policy_drawer.vue
View file @
923e2dc6
...
...
@@ -34,12 +34,15 @@ export default {
return
getContentWrapperHeight
(
'
.js-threat-monitoring-container-wrapper
'
);
},
},
// We set the drawer's z-index to 252 to clear flash messages that might be displayed in the page
// and that have a z-index of 251.
DRAWER_Z_INDEX
:
252
,
};
</
script
>
<
template
>
<gl-drawer
:z-index=
"
252
"
:z-index=
"
$options.DRAWER_Z_INDEX
"
:header-height=
"getDrawerHeaderHeight()"
v-bind=
"$attrs"
v-on=
"$listeners"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment