mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
feat: add simple support for pdf (#2503)
This commit is contained in:
@@ -16,6 +16,11 @@ export const headerContainer = style({
|
|||||||
WebkitAppRegion: 'drag',
|
WebkitAppRegion: 'drag',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'@media': {
|
||||||
|
print: {
|
||||||
|
display: 'none',
|
||||||
|
},
|
||||||
|
},
|
||||||
} as ComplexStyleRule);
|
} as ComplexStyleRule);
|
||||||
|
|
||||||
export const header = style({
|
export const header = style({
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ export const navWrapperStyle = style({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
print: {
|
||||||
|
display: 'none',
|
||||||
|
zIndex: -1,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
selectors: {
|
selectors: {
|
||||||
'&[data-open="false"]': {
|
'&[data-open="false"]': {
|
||||||
@@ -98,5 +102,8 @@ export const sidebarFloatMaskStyle = style({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
print: {
|
||||||
|
display: 'none',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -75,5 +75,8 @@ export const toolStyle = style({
|
|||||||
right: '5px',
|
right: '5px',
|
||||||
bottom: '5px',
|
bottom: '5px',
|
||||||
},
|
},
|
||||||
|
print: {
|
||||||
|
display: 'none',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user