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
c9a0948b
Commit
c9a0948b
authored
Jun 18, 2020
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '217593-fix-column-width' into 'master'
Fix column styling See merge request gitlab-org/gitlab!34619
parents
86ecdb62
5297157d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
ee/app/assets/javascripts/vulnerabilities/components/vulnerability_list.vue
...scripts/vulnerabilities/components/vulnerability_list.vue
+10
-4
ee/changelogs/unreleased/217593-fix-column-width.yml
ee/changelogs/unreleased/217593-fix-column-width.yml
+5
-0
No files found.
ee/app/assets/javascripts/vulnerabilities/components/vulnerability_list.vue
View file @
c9a0948b
...
@@ -81,17 +81,17 @@ export default {
...
@@ -81,17 +81,17 @@ export default {
{
{
key
:
'
checkbox
'
,
key
:
'
checkbox
'
,
class
:
this
.
checkboxClass
,
class
:
this
.
checkboxClass
,
thClass
:
commonThClass
,
thClass
:
`gl-w-9
${
commonThClass
}
`
,
},
},
{
{
key
:
'
state
'
,
key
:
'
state
'
,
label
:
s__
(
'
Vulnerability|Status
'
),
label
:
s__
(
'
Vulnerability|Status
'
),
thClass
:
`
gl-w-64
${
commonThClass
}
`
,
thClass
:
`
vulnerability-td
${
commonThClass
}
`
,
},
},
{
{
key
:
'
severity
'
,
key
:
'
severity
'
,
label
:
s__
(
'
Vulnerability|Severity
'
),
label
:
s__
(
'
Vulnerability|Severity
'
),
thClass
:
`
gl-w-64
${
commonThClass
}
`
,
thClass
:
`
vulnerability-td
${
commonThClass
}
`
,
},
},
{
{
key
:
'
title
'
,
key
:
'
title
'
,
...
@@ -175,6 +175,7 @@ export default {
...
@@ -175,6 +175,7 @@ export default {
>
>
<template
#head
(
checkbox
)
>
<template
#head
(
checkbox
)
>
<gl-form-checkbox
<gl-form-checkbox
class=
"mr-0 mb-0"
:checked=
"hasSelectedAllVulnerabilities"
:checked=
"hasSelectedAllVulnerabilities"
@
change=
"toggleAllVulnerabilities"
@
change=
"toggleAllVulnerabilities"
/>
/>
...
@@ -182,7 +183,7 @@ export default {
...
@@ -182,7 +183,7 @@ export default {
<
template
#cell(checkbox)=
"{ item }"
>
<
template
#cell(checkbox)=
"{ item }"
>
<gl-form-checkbox
<gl-form-checkbox
class=
"d-inline-block mr-0"
class=
"d-inline-block mr-0
mb-0
"
:checked=
"isSelected(item)"
:checked=
"isSelected(item)"
@
change=
"toggleVulnerability(item)"
@
change=
"toggleVulnerability(item)"
/>
/>
...
@@ -242,3 +243,8 @@ export default {
...
@@ -242,3 +243,8 @@ export default {
</gl-table>
</gl-table>
</div>
</div>
</template>
</template>
<
style
>
.vulnerability-td
{
width
:
8rem
;
}
</
style
>
ee/changelogs/unreleased/217593-fix-column-width.yml
0 → 100644
View file @
c9a0948b
---
title
:
Fix column styling in the vulnerability list
merge_request
:
34619
author
:
type
:
fixed
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