Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeraS committed Jun 13, 2024
1 parent ea9a3e1 commit 88be021
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/lab/Breadcrumbs/BreadcrumbItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function BreadcrumbItem(props: BreadcrumbProps) {
{...linkProps}
className={
props.itemType === 'menu'
? undefined
? b('menu')
: b('link', {
'is-current': props.current,
'is-disabled': isDisabled && !props.current,
Expand Down
5 changes: 4 additions & 1 deletion src/components/lab/Breadcrumbs/Breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,13 @@ $block: '.#{variables.$ns}breadcrumbs2';
&__more-button {
--g-button-border-radius: var(--g-focus-border-radius);
--g-button-focus-outline-offset: -2px;
}

&__menu {
margin-inline: calc(-1 * var(--g-spacing-2));
}

&__item:first-child &__more-button {
&__item:first-child &__menu {
margin-inline-start: 0;
}

Expand Down

0 comments on commit 88be021

Please sign in to comment.