Skip to content

Commit

Permalink
Fix navigation item width
Browse files Browse the repository at this point in the history
  • Loading branch information
sdvg committed Oct 27, 2023
1 parent 005f507 commit e37e975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/nav/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class KolNav implements API {
return (
<div class={{ entry: true, 'hide-label': hideLabel }}>
<kol-button-link-text-switch
class="button-link-text-switch"
_link={{
...link,
_hideLabel: hideLabel,
Expand Down
4 changes: 1 addition & 3 deletions packages/components/src/components/nav/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
display: flex;
}

.entry kol-button-wc:first-child,
.entry kol-link-wc,
.entry kol-span-wc {
.button-link-text-switch {
flex-grow: 1;
}

Expand Down

0 comments on commit e37e975

Please sign in to comment.