Fix text showing on icon only buttons

Change-Id: Ie1ab40cd479b5a8e83ce13537a7e8d6387f7a441
This commit is contained in:
bwang 2023-07-25 11:15:46 -05:00
parent 1a60251500
commit 20c216c829

View file

@ -26,8 +26,10 @@
min-width: @min-size-interactive-touch;
min-height: @min-size-interactive-touch;
}
}
// Hide text in icon only buttons
// Hide text in icon only buttons
.cdx-button.cdx-button--icon-only {
span + span {
.mixin-screen-reader-text();
}