File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
src/frontend/apps/impress/src/features/docs
doc-editor/components/custom-blocks Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,13 @@ export const PdfBlock = createReactBlockSpec(
4444 < Box ref = { contentRef } className = "bn-file-block-content-wrapper" >
4545 < PDFBlockStyle />
4646 < ResizableFileBlockWrapper
47- buttonIcon = { < Icon iconName = "upload" /> }
47+ buttonIcon = {
48+ < Icon
49+ iconName = "upload"
50+ $size = "24px"
51+ $css = "line-height: normal;"
52+ />
53+ }
4854 block = { block }
4955 editor = { editor as unknown as FileBlockEditor }
5056 buttonText = { t ( 'Add PDF' ) }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const AlertNetwork = () => {
2424 $padding = "xs"
2525 $flex = { 1 }
2626 $align = "center"
27- $gap = { spacingsTokens [ '3xs ' ] }
27+ $gap = { spacingsTokens [ '2xs ' ] }
2828 $css = { css `
2929 border : 1px solid var (--c--theme--colors--warning-300 );
3030 ` }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const AlertPublic = ({ isPublicDoc }: { isPublicDoc: boolean }) => {
1818 $padding = "xs"
1919 $flex = { 1 }
2020 $align = "center"
21- $gap = { spacingsTokens [ '3xs ' ] }
21+ $gap = { spacingsTokens [ '2xs ' ] }
2222 $css = { css `
2323 border : 1px solid var (--c--theme--colors--primary-300 , # e3e3fd );
2424 ` }
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const AlertRestore = ({ doc }: { doc: Doc }) => {
9191 $size = "18px"
9292 variant = "symbols-outlined"
9393 />
94- < Text $theme = "danger" $variation = "600" $size = "s" >
94+ < Text $theme = "danger" $variation = "600" $size = "s" $css = "line-height:1;" >
9595 { t ( 'Restore' ) }
9696 </ Text >
9797 </ BoxButton >
You can’t perform that action at this time.
0 commit comments