Dynamically truncate breadcrumbs
This commit is contained in:
parent
cb2d2bc332
commit
738aec70d5
1 changed files with 14 additions and 3 deletions
|
@ -401,10 +401,13 @@
|
|||
.breadcrumbs-list {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0;
|
||||
line-height: 16px;
|
||||
|
||||
@media (max-width: $screen-xs-max) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
> li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -412,12 +415,20 @@
|
|||
padding: 2px 0;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 20px;
|
||||
padding-right: 20px;
|
||||
|
||||
&:not(.dropdown) {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
> a {
|
||||
font-size: 12px;
|
||||
color: currentColor;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -432,7 +443,7 @@
|
|||
|
||||
.breadcrumbs-list-angle {
|
||||
position: absolute;
|
||||
right: -12px;
|
||||
right: 7px;
|
||||
top: 50%;
|
||||
color: $gl-text-color-tertiary;
|
||||
transform: translateY(-50%);
|
||||
|
|
Loading…
Reference in a new issue