We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c827833 commit df0cad3Copy full SHA for df0cad3
packages/ui-buttons/src/BaseButton/styles.ts
@@ -361,6 +361,12 @@ const generateStyle = (
361
touchAction: 'manipulation',
362
// This sets the focus ring's border radius displayed by the `View`
363
borderRadius: componentTheme.borderRadius,
364
+ // Prevents the button from being stretched vertically by a flex parent
365
+ // Without this, flex containers with `align-items: stretch` (the default)
366
+ // would force the button to fill the parent's height
367
+ // alignSelf: 'center',
368
+ // height: props.height ? props.height : 'fit-content',
369
+ height: 'fit-content',
370
371
'&::-moz-focus-inner': {
372
border: '0' /* removes default dotted focus outline in Firefox */
0 commit comments