From 8dcb3f62c7ccce09290211350e418c0089265305 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Wed, 8 Nov 2023 14:28:30 -0800 Subject: [PATCH] fix(button): don't show overflowing labels PiperOrigin-RevId: 580659287 --- button/internal/_shared.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/button/internal/_shared.scss b/button/internal/_shared.scss index e44343db96..dc04929eca 100644 --- a/button/internal/_shared.scss +++ b/button/internal/_shared.scss @@ -110,6 +110,10 @@ position: absolute; } + .label { + overflow: hidden; + } + :host([disabled]) .label { color: var(--_disabled-label-text-color); opacity: var(--_disabled-label-text-opacity);