property layout width fixed for fullpage pages

This commit is contained in:
dragonwocky 2020-08-18 21:44:41 +10:00
parent 7af9b7836d
commit 05c7ca099f

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);
}