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
738aec70
Commit
738aec70
authored
Nov 08, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dynamically truncate breadcrumbs
parent
cb2d2bc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+14
-3
No files found.
app/assets/stylesheets/framework/header.scss
View file @
738aec70
...
@@ -401,10 +401,13 @@
...
@@ -401,10 +401,13 @@
.breadcrumbs-list
{
.breadcrumbs-list
{
display
:
-
webkit-flex
;
display
:
-
webkit-flex
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
margin-bottom
:
0
;
margin-bottom
:
0
;
line-height
:
16px
;
line-height
:
16px
;
@media
(
max-width
:
$screen-xs-max
)
{
flex-wrap
:
wrap
;
}
>
li
{
>
li
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -412,12 +415,20 @@
...
@@ -412,12 +415,20 @@
padding
:
2px
0
;
padding
:
2px
0
;
&
:not
(
:last-child
)
{
&
:not
(
:last-child
)
{
margin-right
:
20px
;
padding-right
:
20px
;
&
:not
(
.dropdown
)
{
overflow
:
hidden
;
}
}
}
>
a
{
>
a
{
font-size
:
12px
;
font-size
:
12px
;
color
:
currentColor
;
color
:
currentColor
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
flex
:
0
1
auto
;
}
}
}
}
}
}
...
@@ -432,7 +443,7 @@
...
@@ -432,7 +443,7 @@
.breadcrumbs-list-angle
{
.breadcrumbs-list-angle
{
position
:
absolute
;
position
:
absolute
;
right
:
-12
px
;
right
:
7
px
;
top
:
50%
;
top
:
50%
;
color
:
$gl-text-color-tertiary
;
color
:
$gl-text-color-tertiary
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
...
...
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