CSS improvements

This commit is contained in:
Leonardo Cavaletti 2021-03-04 09:22:02 +00:00
parent f580af4a8e
commit 001c332839

View File

@ -40,6 +40,30 @@ svg.alias {
height: auto !important;
}
/* stops text from overflowing past max-width on bookmark blocks; */
.notion-bookmark-block div {
white-space: unset !important;
}
/* fixes oversized page properties on Safari */
.notion-scroller
> div:nth-child(2):not(.notion-page-content)
> div:not([data-block-id])
div:not(.notion-page-details-controls) {
height: auto !important;
}
/* fixes possible stray header on tables */
.notion-collection_view_page-block > div:first-child {
transform: unset !important;
}
/* fixes oversize icons in inline page links */
a[data-token-index] svg.page {
height: auto !important;
}
/* mobile fixes */
@media only screen and (max-width: 960px) {
/* normalizes banner / page title width */
.notion-scroller > div:not([class]),
@ -107,23 +131,4 @@ svg.alias {
.notion-list-view > .notion-collection_view_page-block {
width: fit-content;
}
/* stops text from overflowing past max-width on bookmark blocks; */
.notion-bookmark-block div {
white-space: unset !important;
}
/* fixes oversized page properties on Safari */
.notion-scroller
> div:nth-child(2):not(.notion-page-content)
> div:not([data-block-id])
div:not(.notion-page-details-controls) {
background: red !important;
height: auto !important;
}
/* fixes possible stray header on tables */
.notion-collection_view_page-block > div:first-child {
transform: unset !important;
}
}