-
Notifications
You must be signed in to change notification settings - Fork 571
/
Copy pathprint.scss
50 lines (43 loc) · 902 Bytes
/
print.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@use '~@automattic/color-studio/dist/color-variables' as *;
@media print {
html {
-ms-overflow-style: -ms-autohiding-scrollbar;
}
body {
background-color: #fff;
}
.app-layout__note-column {
border: 0;
}
.dev-badge,
.app-layout__source-column,
.tag-field,
.note-toolbar-wrapper,
.react-monaco-editor-container,
.search-results {
display: none;
}
/* Firefox only prints the first page if any divs are display: flex */
.app,
.simplenote-app,
.app-layout,
.app-layout__note-column,
.note-editor,
.note-detail,
.note-detail-textarea,
.note-content-editor-shell,
.note-detail-wrapper {
display: block;
overflow: auto;
position: relative;
}
[class^='note-detail-'] {
max-width: 100%;
width: 100%;
color: $studio-black;
overflow-y: auto !important;
}
.note-content-plaintext {
display: inherit;
}
}