💄(frontend) fix gap and alignment icons
Fix some gaps and alignment of the icons.
This commit is contained in:
@@ -44,7 +44,13 @@ export const PdfBlock = createReactBlockSpec(
|
|||||||
<Box ref={contentRef} className="bn-file-block-content-wrapper">
|
<Box ref={contentRef} className="bn-file-block-content-wrapper">
|
||||||
<PDFBlockStyle />
|
<PDFBlockStyle />
|
||||||
<ResizableFileBlockWrapper
|
<ResizableFileBlockWrapper
|
||||||
buttonIcon={<Icon iconName="upload" />}
|
buttonIcon={
|
||||||
|
<Icon
|
||||||
|
iconName="upload"
|
||||||
|
$size="24px"
|
||||||
|
$css="line-height: normal;"
|
||||||
|
/>
|
||||||
|
}
|
||||||
block={block}
|
block={block}
|
||||||
editor={editor as unknown as FileBlockEditor}
|
editor={editor as unknown as FileBlockEditor}
|
||||||
buttonText={t('Add PDF')}
|
buttonText={t('Add PDF')}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export const AlertNetwork = () => {
|
|||||||
$padding="xs"
|
$padding="xs"
|
||||||
$flex={1}
|
$flex={1}
|
||||||
$align="center"
|
$align="center"
|
||||||
$gap={spacingsTokens['3xs']}
|
$gap={spacingsTokens['2xs']}
|
||||||
$css={css`
|
$css={css`
|
||||||
border: 1px solid var(--c--theme--colors--warning-300);
|
border: 1px solid var(--c--theme--colors--warning-300);
|
||||||
`}
|
`}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export const AlertPublic = ({ isPublicDoc }: { isPublicDoc: boolean }) => {
|
|||||||
$padding="xs"
|
$padding="xs"
|
||||||
$flex={1}
|
$flex={1}
|
||||||
$align="center"
|
$align="center"
|
||||||
$gap={spacingsTokens['3xs']}
|
$gap={spacingsTokens['2xs']}
|
||||||
$css={css`
|
$css={css`
|
||||||
border: 1px solid var(--c--theme--colors--primary-300, #e3e3fd);
|
border: 1px solid var(--c--theme--colors--primary-300, #e3e3fd);
|
||||||
`}
|
`}
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export const AlertRestore = ({ doc }: { doc: Doc }) => {
|
|||||||
$size="18px"
|
$size="18px"
|
||||||
variant="symbols-outlined"
|
variant="symbols-outlined"
|
||||||
/>
|
/>
|
||||||
<Text $theme="danger" $variation="600" $size="s">
|
<Text $theme="danger" $variation="600" $size="s" $css="line-height:1;">
|
||||||
{t('Restore')}
|
{t('Restore')}
|
||||||
</Text>
|
</Text>
|
||||||
</BoxButton>
|
</BoxButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user