We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c827833 commit fb34459Copy full SHA for fb34459
packages/ui-buttons/src/BaseButton/styles.ts
@@ -361,6 +361,10 @@ 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
369
'&::-moz-focus-inner': {
370
border: '0' /* removes default dotted focus outline in Firefox */
0 commit comments