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