Skip to content
Snippets Groups Projects
Commit efcdcfda authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

use CSS for breadcrumb sizing, re #727

parent 7b16d960
No related branches found
No related tags found
No related merge requests found
...@@ -285,8 +285,11 @@ $consum_ribbon_width: calc(100% - 58px); ...@@ -285,8 +285,11 @@ $consum_ribbon_width: calc(100% - 58px);
.cw-ribbon-breadcrumb { .cw-ribbon-breadcrumb {
font-size: 1.25em; font-size: 1.25em;
line-height: 1.5em; line-height: 1.5em;
margin-right: 1em;
min-width: 0;
ul { ul {
display: flex;
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
...@@ -298,14 +301,12 @@ $consum_ribbon_width: calc(100% - 58px); ...@@ -298,14 +301,12 @@ $consum_ribbon_width: calc(100% - 58px);
} }
.cw-ribbon-breadcrumb-item { .cw-ribbon-breadcrumb-item {
display: inline-flex; display: inline;
flex-shrink: 100000;
span { min-width: 0;
white-space: nowrap; overflow: hidden;
overflow: hidden; text-overflow: ellipsis;
text-overflow: ellipsis; white-space: nowrap;
max-width: 12em;
}
a { a {
color: $base-color; color: $base-color;
...@@ -316,7 +317,7 @@ $consum_ribbon_width: calc(100% - 58px); ...@@ -316,7 +317,7 @@ $consum_ribbon_width: calc(100% - 58px);
} }
&.cw-ribbon-breadcrumb-item-current { &.cw-ribbon-breadcrumb-item-current {
cursor: default; flex-shrink: 1;
} }
} }
} }
......
...@@ -26,9 +26,7 @@ ...@@ -26,9 +26,7 @@
class="cw-ribbon-breadcrumb-item" class="cw-ribbon-breadcrumb-item"
> >
<span> <span>
<router-link :to="'/structural_element/' + ancestor.id"> <router-link :to="'/structural_element/' + ancestor.id">{{ ancestor.attributes.title || "" }}</router-link>
{{ ancestor.attributes.title || "" }}
</router-link>
</span> </span>
</li> </li>
<li <li
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment