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 <aaronrobertshaw@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: getdave <get_dave@git.wordpress.org>
  • Loading branch information
8 people authored Oct 14, 2024
1 parent fa8b36f commit 0e587d5
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 0e587d5

Please sign in to comment.