feat: add simple support for pdf (#2503)

This commit is contained in:
fourdim 2023-05-24 16:40:20 +08:00 committed by GitHub
parent 053eba5d98
commit f6adf93f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

@ -16,6 +16,11 @@ export const headerContainer = style({
WebkitAppRegion: 'drag',
},
},
'@media': {
print: {
display: 'none',
},
},
} as ComplexStyleRule);
export const header = style({

View File

@ -27,6 +27,10 @@ export const navWrapperStyle = style({
},
},
},
print: {
display: 'none',
zIndex: -1,
},
},
selectors: {
'&[data-open="false"]': {
@ -98,5 +102,8 @@ export const sidebarFloatMaskStyle = style({
},
},
},
print: {
display: 'none',
},
},
});

View File

@ -75,5 +75,8 @@ export const toolStyle = style({
right: '5px',
bottom: '5px',
},
print: {
display: 'none',
},
},
});