feat: add simple support for pdf (#2503)

This commit is contained in:
fourdim
2023-05-24 16:40:20 +08:00
committed by Himself65
parent 79116f06dd
commit cee829d08f
3 changed files with 15 additions and 0 deletions
@@ -16,6 +16,11 @@ export const headerContainer = style({
WebkitAppRegion: 'drag',
},
},
'@media': {
print: {
display: 'none',
},
},
} as ComplexStyleRule);
export const header = style({
@@ -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',
},
},
});
@@ -75,5 +75,8 @@ export const toolStyle = style({
right: '5px',
bottom: '5px',
},
print: {
display: 'none',
},
},
});