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
bcbda09b
Commit
bcbda09b
authored
Oct 27, 2021
by
Dheeraj Joshi
Committed by
Kushal Pandya
Oct 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix styling for Request CVE button in sidebar
parent
1ba710a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+2
-0
ee/app/assets/javascripts/sidebar/components/cve_id_request/cve_id_request_sidebar.vue
...ebar/components/cve_id_request/cve_id_request_sidebar.vue
+3
-6
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
bcbda09b
...
@@ -179,6 +179,7 @@
...
@@ -179,6 +179,7 @@
}
}
.block
,
.block
,
.sidebar-contained-width
,
.issuable-sidebar-header
{
.issuable-sidebar-header
{
@include
clearfix
;
@include
clearfix
;
padding
:
$gl-padding
0
;
padding
:
$gl-padding
0
;
...
@@ -317,6 +318,7 @@
...
@@ -317,6 +318,7 @@
padding
:
0
;
padding
:
0
;
.block
,
.block
,
.sidebar-contained-width
,
.issuable-sidebar-header
{
.issuable-sidebar-header
{
width
:
$gutter-collapsed-width
-
2px
;
width
:
$gutter-collapsed-width
-
2px
;
padding
:
0
;
padding
:
0
;
...
...
ee/app/assets/javascripts/sidebar/components/cve_id_request/cve_id_request_sidebar.vue
View file @
bcbda09b
<
script
>
<
script
>
import
{
GlLink
,
GlIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
GlLink
,
GlIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
mapState
}
from
'
vuex
'
;
import
{
mapState
}
from
'
vuex
'
;
import
{
helpPagePath
}
from
'
~/helpers/help_page_helper
'
;
import
{
createCveIdRequestIssueBody
}
from
'
~/helpers/cve_id_request_helper
'
;
import
{
createCveIdRequestIssueBody
}
from
'
~/helpers/cve_id_request_helper
'
;
import
{
joinPaths
}
from
'
~/lib/utils/url_utility
'
;
import
{
CVE_ID_REQUEST_SIDEBAR_I18N
}
from
'
../../constants
'
;
import
{
CVE_ID_REQUEST_SIDEBAR_I18N
}
from
'
../../constants
'
;
export
default
{
export
default
{
...
@@ -39,10 +39,7 @@ export default {
...
@@ -39,10 +39,7 @@ export default {
computed
:
{
computed
:
{
...
mapState
({
confidential
:
(
state
)
=>
state
.
noteableData
.
confidential
}),
...
mapState
({
confidential
:
(
state
)
=>
state
.
noteableData
.
confidential
}),
helpHref
()
{
helpHref
()
{
return
joinPaths
(
return
helpPagePath
(
'
user/application_security/cve_id_request
'
);
gon
.
relative_url_root
||
''
,
'
/help/user/application_security/cve_id_request.md
'
,
);
},
},
showHelpState
()
{
showHelpState
()
{
return
Boolean
(
this
.
showHelp
);
return
Boolean
(
this
.
showHelp
);
...
@@ -76,7 +73,7 @@ export default {
...
@@ -76,7 +73,7 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
v-if=
"confidential"
class=
"
cve-id-request gl-display-block
gl-pb-0 gl-border-b-0"
>
<div
v-if=
"confidential"
class=
"
sidebar-contained-width cve-id-request
gl-pb-0 gl-border-b-0"
>
<div
<div
v-gl-tooltip
.
viewport
.
left
v-gl-tooltip
.
viewport
.
left
:title=
"tooltipTitle"
:title=
"tooltipTitle"
...
...
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