💄(frontend) fix gap and alignment icons

Fix some gaps and alignment of the icons.
This commit is contained in:
Anthony LC
2025-10-14 11:36:42 +02:00
parent af3d90db3b
commit f19fa93600
4 changed files with 10 additions and 4 deletions

View File

@@ -44,7 +44,13 @@ export const PdfBlock = createReactBlockSpec(
<Box ref={contentRef} className="bn-file-block-content-wrapper">
<PDFBlockStyle />
<ResizableFileBlockWrapper
buttonIcon={<Icon iconName="upload" />}
buttonIcon={
<Icon
iconName="upload"
$size="24px"
$css="line-height: normal;"
/>
}
block={block}
editor={editor as unknown as FileBlockEditor}
buttonText={t('Add PDF')}

View File

@@ -24,7 +24,7 @@ export const AlertNetwork = () => {
$padding="xs"
$flex={1}
$align="center"
$gap={spacingsTokens['3xs']}
$gap={spacingsTokens['2xs']}
$css={css`
border: 1px solid var(--c--theme--colors--warning-300);
`}

View File

@@ -18,7 +18,7 @@ export const AlertPublic = ({ isPublicDoc }: { isPublicDoc: boolean }) => {
$padding="xs"
$flex={1}
$align="center"
$gap={spacingsTokens['3xs']}
$gap={spacingsTokens['2xs']}
$css={css`
border: 1px solid var(--c--theme--colors--primary-300, #e3e3fd);
`}

View File

@@ -91,7 +91,7 @@ export const AlertRestore = ({ doc }: { doc: Doc }) => {
$size="18px"
variant="symbols-outlined"
/>
<Text $theme="danger" $variation="600" $size="s">
<Text $theme="danger" $variation="600" $size="s" $css="line-height:1;">
{t('Restore')}
</Text>
</BoxButton>