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
9fef391a
Commit
9fef391a
authored
May 13, 2020
by
Jose Eduardo Kimura Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix style overwritting on vulnerability list
parent
73ffa9c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
app/assets/stylesheets/framework/tables.scss
app/assets/stylesheets/framework/tables.scss
+9
-0
ee/app/assets/javascripts/vulnerabilities/components/vulnerability_list.vue
...scripts/vulnerabilities/components/vulnerability_list.vue
+5
-2
No files found.
app/assets/stylesheets/framework/tables.scss
View file @
9fef391a
...
...
@@ -9,6 +9,10 @@ table {
* This is a temporary workaround until we fix the neutral
* color palette in https://gitlab.com/gitlab-org/gitlab/-/issues/213570
*
* The overwrites here affected the security dashboard tables, when removing
* this code, table-th-transparent and original-text-color classes should
* be removed there.
*
* Remove this code as soon as this happens
*/
&
.gl-table
{
...
...
@@ -54,6 +58,11 @@ table {
background
:
none
;
color
:
$gl-text-color-secondary
;
}
&
.original-gl-th
{
@include
gl-text-gray-700
;
border-bottom
:
1px
solid
$cycle-analytics-light-gray
;
}
}
td
{
...
...
ee/app/assets/javascripts/vulnerabilities/components/vulnerability_list.vue
View file @
9fef391a
...
...
@@ -71,24 +71,27 @@ export default {
return
this
.
shouldShowSelection
?
''
:
'
d-none
'
;
},
fields
()
{
const
commonThClass
=
[
'
table-th-transparent
'
,
'
original-gl-th
'
].
join
(
'
'
);
return
[
{
key
:
'
checkbox
'
,
class
:
this
.
checkboxClass
,
thClass
:
commonThClass
,
},
{
key
:
'
state
'
,
label
:
s__
(
'
Vulnerability|Status
'
),
thClass
:
'
gl-w-64
'
,
thClass
:
`gl-w-64
${
commonThClass
}
`
,
},
{
key
:
'
severity
'
,
label
:
s__
(
'
Vulnerability|Severity
'
),
thClass
:
'
gl-w-64
'
,
thClass
:
`gl-w-64
${
commonThClass
}
`
,
},
{
key
:
'
title
'
,
label
:
__
(
'
Description
'
),
thClass
:
commonThClass
,
},
];
},
...
...
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