Skip to content

Commit

Permalink
fixup! Fix NcBreadcrumbs styles to wrap buttons
Browse files Browse the repository at this point in the history
Signed-off-by: julia.kirschenheuter <[email protected]>
  • Loading branch information
JuliaKirschenheuter committed Oct 18, 2023
1 parent 519e740 commit dce74bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/NcBreadcrumbs/NcBreadcrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -647,12 +647,17 @@ export default {
align-items: center;
&--collapsed :deep(.vue-crumb:last-child) {
min-width: 100px;
flex-shrink: 1;
}
nav {
flex-shrink: 1;
max-width: 100%;
/**
* This value is given by the min-width of the last crumb (100px) plus
* width of one action button.
*/
min-width: calc(100% - var(--default-clickable-area));
}
& #{&}__crumbs {
Expand Down

0 comments on commit dce74bf

Please sign in to comment.