mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(print): improve on mobile
This commit is contained in:
parent
8e88645fd3
commit
6ad19198c6
@ -1,5 +1,7 @@
|
|||||||
:root {
|
:root {
|
||||||
--main-background-color: white;
|
--main-background-color: white;
|
||||||
|
--root-background: var(--main-background-color);
|
||||||
|
--launcher-pane-background-color: var(--main-background-color);
|
||||||
--main-text-color: black;
|
--main-text-color: black;
|
||||||
--input-text-color: var(--main-text-color);
|
--input-text-color: var(--main-text-color);
|
||||||
}
|
}
|
||||||
@ -21,6 +23,20 @@
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.mobile #mobile-sidebar-wrapper,
|
||||||
|
body.mobile .classic-toolbar-widget,
|
||||||
|
body.mobile .action-button {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.mobile #detail-container {
|
||||||
|
max-height: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.mobile .note-title-widget {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
#root-widget,
|
#root-widget,
|
||||||
#rest-pane > div.component:first-child,
|
#rest-pane > div.component:first-child,
|
||||||
@ -52,7 +68,8 @@ body {
|
|||||||
#vertical-main-container,
|
#vertical-main-container,
|
||||||
#center-pane,
|
#center-pane,
|
||||||
.split-note-container-widget,
|
.split-note-container-widget,
|
||||||
.note-split:not(.hidden-ext) {
|
.note-split:not(.hidden-ext),
|
||||||
|
body.mobile #mobile-rest-container {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
@ -60,7 +77,8 @@ body {
|
|||||||
|
|
||||||
#center-pane,
|
#center-pane,
|
||||||
#rest-pane,
|
#rest-pane,
|
||||||
.note-split {
|
.note-split,
|
||||||
|
body.mobile #detail-container {
|
||||||
width: unset !important;
|
width: unset !important;
|
||||||
max-width: unset !important;
|
max-width: unset !important;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user