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
76b2097f
Commit
76b2097f
authored
Sep 02, 2020
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove fa-arrow-* CSS and fix specs
Fix wrong icon used in dropdown_create_label.vue
parent
2818c251
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
18 deletions
+2
-18
app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_create_label.vue
...omponents/sidebar/labels_select/dropdown_create_label.vue
+1
-1
app/assets/stylesheets/fontawesome_custom.scss
app/assets/stylesheets/fontawesome_custom.scss
+0
-16
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_create_label_spec.js
...nents/sidebar/labels_select/dropdown_create_label_spec.js
+1
-1
No files found.
app/assets/javascripts/vue_shared/components/sidebar/labels_select/dropdown_create_label.vue
View file @
76b2097f
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
:aria-label=
"__('Go back')"
:aria-label=
"__('Go back')"
category=
"tertiary"
category=
"tertiary"
class=
"dropdown-title-button dropdown-menu-back"
class=
"dropdown-title-button dropdown-menu-back"
icon=
"
close
"
icon=
"
arrow-left
"
/>
/>
{{
headerTitle
}}
{{
headerTitle
}}
<button
<button
...
...
app/assets/stylesheets/fontawesome_custom.scss
View file @
76b2097f
...
@@ -134,10 +134,6 @@
...
@@ -134,10 +134,6 @@
content
:
'\f100'
;
content
:
'\f100'
;
}
}
.
fa-arrow-left
:
:
before
{
content
:
'\f060'
;
}
.
fa-trash-o
:
:
before
{
.
fa-trash-o
:
:
before
{
content
:
'\f014'
;
content
:
'\f014'
;
}
}
...
@@ -166,10 +162,6 @@
...
@@ -166,10 +162,6 @@
content
:
'\f0c6'
;
content
:
'\f0c6'
;
}
}
.
fa-arrow-up
:
:
before
{
content
:
'\f062'
;
}
.
fa-bug
:
:
before
{
.
fa-bug
:
:
before
{
content
:
'\f188'
;
content
:
'\f188'
;
}
}
...
@@ -186,10 +178,6 @@
...
@@ -186,10 +178,6 @@
content
:
'\f0f3'
;
content
:
'\f0f3'
;
}
}
.
fa-arrow-down
:
:
before
{
content
:
'\f063'
;
}
.
fa-bitbucket-square
:
:
before
{
.
fa-bitbucket-square
:
:
before
{
content
:
'\f172'
;
content
:
'\f172'
;
}
}
...
@@ -242,10 +230,6 @@
...
@@ -242,10 +230,6 @@
content
:
'\f04b'
;
content
:
'\f04b'
;
}
}
.
fa-arrow-right
:
:
before
{
content
:
'\f061'
;
}
.
fa-search-plus
:
:
before
{
.
fa-search-plus
:
:
before
{
content
:
'\f00e'
;
content
:
'\f00e'
;
}
}
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_create_label_spec.js
View file @
76b2097f
...
@@ -43,7 +43,7 @@ describe('DropdownCreateLabelComponent', () => {
...
@@ -43,7 +43,7 @@ describe('DropdownCreateLabelComponent', () => {
);
);
expect
(
backButtonEl
).
not
.
toBe
(
null
);
expect
(
backButtonEl
).
not
.
toBe
(
null
);
expect
(
backButtonEl
.
querySelector
(
'
.fa-arrow-left
'
)).
not
.
toBe
(
null
);
expect
(
backButtonEl
.
querySelector
(
'
[data-testid="arrow-left-icon"]
'
)).
not
.
toBe
(
null
);
});
});
it
(
'
renders component header element as `Create new label` when `headerTitle` prop is not provided
'
,
()
=>
{
it
(
'
renders component header element as `Create new label` when `headerTitle` prop is not provided
'
,
()
=>
{
...
...
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