Skip to content

Commit 9e88f96

Browse files
committed
fix(ui-buttons): fix for AI secondary button visual glitch
1 parent c827833 commit 9e88f96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/ui-buttons/src/BaseButton/styles.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ const generateStyle = (
361361
touchAction: 'manipulation',
362362
// This sets the focus ring's border radius displayed by the `View`
363363
borderRadius: componentTheme.borderRadius,
364+
// Prevents vertical stretching in flex parents with fixed height
365+
// Avoids background/focus ring distortion
366+
height: 'fit-content',
364367

365368
'&::-moz-focus-inner': {
366369
border: '0' /* removes default dotted focus outline in Firefox */

0 commit comments

Comments
 (0)