property layout width fixed for fullpage pages

This commit is contained in:
dragonwocky 2020-08-18 21:44:41 +10:00
parent 4e09b4f135
commit 934b3093bb
Signed by: dragonwocky
GPG Key ID: C7A48B7846AA706D

View File

@ -10,7 +10,7 @@
}
.propertylayout-toggle {
width: calc(100% - (2 * var(--theme--preview-padding)));
width: calc(100% - (2 * (96px + env(safe-area-inset-left))));
text-align: left;
font-size: 0.85em;
margin-bottom: 1em;
@ -21,6 +21,12 @@
border-radius: 2px;
transition: background 200ms;
}
[style*='width: 900px'] + .propertylayout-toggle {
width: calc(900px - (2 * (96px + env(safe-area-inset-left))));
}
.notion-peek-renderer .propertylayout-toggle {
width: calc(100% - (2 * var(--theme--preview-padding)));
}
.propertylayout-toggle:hover {
background: var(--theme--interactive_hover);
}