Skip to content

Commit 8ac381a

Browse files
committed
fix(material/button): incorrect outlined focus overlay shape when border radius is customized
Fixes that the focus overlay on outlined buttons wasn't covering the outlined button fully when its border radius is customized. Fixes #30484.
1 parent 3d7f271 commit 8ac381a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/material/button/button.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,6 @@
264264
@include token-utils.create-token-slot(color, disabled-label-text-color);
265265
@include token-utils.create-token-slot(border-color, disabled-outline-color);
266266
}
267-
268-
// TODO(crisbeto): this causes a weird gap between the ripple and the
269-
// outline. We should remove it and update the screenshot tests.
270-
.mdc-button__ripple {
271-
@include token-utils.create-token-slot(border-width, outline-width);
272-
border-style: solid;
273-
border-color: transparent;
274-
}
275267
}
276268
}
277269

0 commit comments

Comments
 (0)