Skip to content

Commit 1d20a8b

Browse files
committed
💄(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.
1 parent 8a310d0 commit 1d20a8b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteToolBar/ModalConfirmDownloadUnsafe.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const ModalConfirmDownloadUnsafe = ({
5454
$align="flex-start"
5555
$variation="1000"
5656
$direction="row"
57+
$margin="0"
5758
>
5859
<Icon iconName="warning" $theme="warning" />
5960
{t('Warning')}

src/frontend/apps/impress/src/features/docs/doc-share/components/DocShareModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export const DocShareModal = ({ doc, onClose, isRootDoc = true }: Props) => {
146146
$align="flex-start"
147147
$size="small"
148148
$weight="600"
149+
$margin="0"
149150
>
150151
{t('Share the document')}
151152
</Text>

0 commit comments

Comments
 (0)