💄(frontend) add minor layout adjustments
Propose minor layout adjustments to ensure the DINUM version with French copywriting does not look visually awkward due to line breaks.
This commit is contained in:
committed by
aleb_the_flash
parent
cadc186c62
commit
5769203705
@@ -66,16 +66,22 @@ export function ToastRecordingRequest({
|
|||||||
name: participant?.name,
|
name: participant?.name,
|
||||||
})}
|
})}
|
||||||
{!options.isMenuOpen && (
|
{!options.isMenuOpen && (
|
||||||
<Button
|
<div
|
||||||
size="sm"
|
|
||||||
variant="text"
|
|
||||||
className={css({
|
className={css({
|
||||||
color: 'primary.300',
|
marginLeft: '0.5rem',
|
||||||
})}
|
})}
|
||||||
onPress={options.openMenu}
|
|
||||||
>
|
>
|
||||||
{t('openMenu')}
|
<Button
|
||||||
</Button>
|
size="sm"
|
||||||
|
variant="text"
|
||||||
|
className={css({
|
||||||
|
color: 'primary.300',
|
||||||
|
})}
|
||||||
|
onPress={options.openMenu}
|
||||||
|
>
|
||||||
|
{t('openMenu')}
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</HStack>
|
</HStack>
|
||||||
</StyledToastContainer>
|
</StyledToastContainer>
|
||||||
|
|||||||
@@ -161,6 +161,7 @@ export const ControlsButton = ({
|
|||||||
fullWidth
|
fullWidth
|
||||||
onPress={handle}
|
onPress={handle}
|
||||||
isDisabled={isDisabled}
|
isDisabled={isDisabled}
|
||||||
|
size="compact"
|
||||||
>
|
>
|
||||||
{t('button.start')}
|
{t('button.start')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -29,9 +29,10 @@ export const RowWrapper = ({
|
|||||||
className={css({
|
className={css({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
background: 'gray.100',
|
background: 'gray.100',
|
||||||
padding: '8px',
|
paddingBlock: '0.5rem',
|
||||||
|
paddingInline: '0',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
marginTop: '4px',
|
marginTop: '0.25rem',
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -40,6 +41,7 @@ export const RowWrapper = ({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
paddingInline: '0.25rem',
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{/* fixme - doesn't handle properly material-symbols */}
|
{/* fixme - doesn't handle properly material-symbols */}
|
||||||
@@ -47,10 +49,11 @@ export const RowWrapper = ({
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={css({
|
className={css({
|
||||||
flex: 5,
|
flex: 6,
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: '0.25rem',
|
gap: '0.25rem',
|
||||||
|
paddingInlineEnd: '8px',
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ export const buttonRecipe = cva({
|
|||||||
borderRadius: 4,
|
borderRadius: 4,
|
||||||
'--square-padding': '0',
|
'--square-padding': '0',
|
||||||
},
|
},
|
||||||
|
compact: {
|
||||||
|
borderRadius: 4,
|
||||||
|
paddingX: '0.5',
|
||||||
|
paddingY: '0.625',
|
||||||
|
'--square-padding': '{spacing.0.625}',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
square: {
|
square: {
|
||||||
true: {
|
true: {
|
||||||
|
|||||||
Reference in New Issue
Block a user