💄(frontend) remove margin from modal title
Recent improvement changes the modal title with a h1 tag, h1 tag adds margin by default. We remove the margin from the h1 tag to stick to the design system.
This commit is contained in:
@@ -54,6 +54,7 @@ export const ModalConfirmDownloadUnsafe = ({
|
|||||||
$align="flex-start"
|
$align="flex-start"
|
||||||
$variation="1000"
|
$variation="1000"
|
||||||
$direction="row"
|
$direction="row"
|
||||||
|
$margin="0"
|
||||||
>
|
>
|
||||||
<Icon iconName="warning" $theme="warning" />
|
<Icon iconName="warning" $theme="warning" />
|
||||||
{t('Warning')}
|
{t('Warning')}
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ export const DocShareModal = ({ doc, onClose, isRootDoc = true }: Props) => {
|
|||||||
$align="flex-start"
|
$align="flex-start"
|
||||||
$size="small"
|
$size="small"
|
||||||
$weight="600"
|
$weight="600"
|
||||||
|
$margin="0"
|
||||||
>
|
>
|
||||||
{t('Share the document')}
|
{t('Share the document')}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user