Skip to content

Commit

Permalink
fix(button): don't show overflowing labels
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 580659287
  • Loading branch information
asyncLiz authored and copybara-github committed Nov 8, 2023
1 parent 7859b39 commit 8dcb3f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions button/internal/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
position: absolute;
}

.label {
overflow: hidden;
}

:host([disabled]) .label {
color: var(--_disabled-label-text-color);
opacity: var(--_disabled-label-text-opacity);
Expand Down

0 comments on commit 8dcb3f6

Please sign in to comment.