Skip to content

Commit

Permalink
Editor: Prevent wrapping text when showing icon labels in header (#66038
Browse files Browse the repository at this point in the history
)

Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: afercia <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: getdave <[email protected]>
  • Loading branch information
8 people committed Oct 14, 2024
1 parent 8a08495 commit f3205cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
// ... and display labels.
&::after {
content: attr(aria-label);
white-space: nowrap;
}
&[aria-disabled="true"] {
background-color: transparent;
Expand Down

0 comments on commit f3205cb

Please sign in to comment.