Fix extension info meta and action button styling
Ensure all components have the same width. Otherwise, the divider is not centered properly, which makes it look weird
This commit is contained in:
@@ -22,7 +22,7 @@ export const ActionButton = ({ pkgName, isInstalled, isObsolete, hasUpdate }: TE
|
||||
const installedState = getInstalledState(isInstalled, isObsolete, hasUpdate);
|
||||
|
||||
return (
|
||||
<Box sx={{ px: 1 }}>
|
||||
<Box sx={{ px: 1, flexGrow: 1, flexBasis: 0 }}>
|
||||
<Button
|
||||
sx={{
|
||||
width: '100%',
|
||||
|
||||
@@ -26,6 +26,7 @@ export const ExtensionMetadata = ({
|
||||
flexDirection: 'column-reverse',
|
||||
alignItems: 'center',
|
||||
flexGrow: 1,
|
||||
flexBasis: 0,
|
||||
},
|
||||
}}
|
||||
titleProps={{
|
||||
|
||||
Reference in New Issue
Block a user