Skip to content

Commit 37ba337

Browse files
committed
💄(frontend) made pdf icons and text consistent with blocknote style
To keep consistency I am using same classname as blocknote for icon and filename Signed-off-by: dakshesh14 <[email protected]>
1 parent 03e1952 commit 37ba337

File tree

1 file changed

+3
-2
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks

1 file changed

+3
-2
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,15 @@ export const PdfBlock = createReactBlockSpec(
5555
<Box
5656
$display="flex"
5757
$align="center"
58-
$justify="center"
58+
className="bn-file-name-with-icon"
5959
$direction="row"
6060
$gap="1rem"
6161
>
62-
<Icon iconName="picture_as_pdf" $size="18px" />
62+
<Icon iconName="picture_as_pdf" className="btn-file-icon" />
6363
<Box
6464
as="p"
6565
$display="inline-block"
66+
className="bn-file-name"
6667
style={{
6768
textOverflow: 'ellipsis',
6869
whiteSpace: 'nowrap',

0 commit comments

Comments
 (0)