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
c7a515e1
Commit
c7a515e1
authored
Sep 17, 2020
by
Jarek Ostrowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove btn classes for consistent caret sizes
MR:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42605
parent
7d27bb49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+2
-2
changelogs/unreleased/250685-fix-carets.yml
changelogs/unreleased/250685-fix-carets.yml
+5
-0
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
c7a515e1
...
...
@@ -3,7 +3,7 @@
%ul
.list-unstyled.navbar-sub-nav
-
if
dashboard_nav_link?
(
:projects
)
=
nav_link
(
path:
[
'root#index'
,
'projects#trending'
,
'projects#starred'
,
'dashboard/projects#index'
],
html_options:
{
id:
'nav-projects-dropdown'
,
class:
"home dropdown header-projects qa-projects-dropdown"
,
data:
{
track_label:
"projects_dropdown"
,
track_event:
"click_dropdown"
,
track_value:
""
}
})
do
%button
.btn
{
type:
'button'
,
data:
{
toggle:
"dropdown"
}
}
%button
{
type:
'button'
,
data:
{
toggle:
"dropdown"
}
}
=
_
(
'Projects'
)
=
sprite_icon
(
'angle-down'
,
css_class:
'caret-down'
)
.dropdown-menu.frequent-items-dropdown-menu
...
...
@@ -11,7 +11,7 @@
-
if
dashboard_nav_link?
(
:groups
)
=
nav_link
(
controller:
[
'dashboard/groups'
,
'explore/groups'
],
html_options:
{
id:
'nav-groups-dropdown'
,
class:
"d-none d-md-block home dropdown header-groups qa-groups-dropdown"
,
data:
{
track_label:
"groups_dropdown"
,
track_event:
"click_dropdown"
,
track_value:
""
}
})
do
%button
.btn
{
type:
'button'
,
data:
{
toggle:
"dropdown"
}
}
%button
{
type:
'button'
,
data:
{
toggle:
"dropdown"
}
}
=
_
(
'Groups'
)
=
sprite_icon
(
'angle-down'
,
css_class:
'caret-down'
)
.dropdown-menu.frequent-items-dropdown-menu
...
...
changelogs/unreleased/250685-fix-carets.yml
0 → 100644
View file @
c7a515e1
---
title
:
Fix caret sizes in navigation
merge_request
:
42605
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