Skip to content

Commit

Permalink
fix: fix breadcumb alignment after tertiary button changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed May 31, 2023
1 parent 88bec0c commit 9f4a9a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ button.dnb-button::-moz-focus-inner {
.dnb-breadcrumb__item__span__icon {
margin-left: calc(var(--button-icon-size) / 2);
margin-right: 0.5rem; }
.dnb-breadcrumb__item:not(:first-of-type) .dnb-button.dnb-button--has-text {
padding-left: 0.5rem; }
.dnb-breadcrumb__animation {
display: flex;
flex-direction: column;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
}
}

&__item:not(:first-of-type) {
.dnb-button.dnb-button--has-text {
padding-left: 0.5rem;
}
}

&__animation {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 9f4a9a6

Please sign in to comment.