Skip to content

Commit

Permalink
Fix new header allowing their single-child's overflowing
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Aug 22, 2024
1 parent aed03fa commit e5d06b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/public/chrome/ui/header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
& > .euiHeaderSection {
gap: $euiSizeS;

&:only-child {
width: 100%;
}

// stylelint-disable-next-line @osd/stylelint/no_modifying_global_selectors
& > .euiHeaderSectionItem:empty {
display: none;
Expand Down

0 comments on commit e5d06b4

Please sign in to comment.