Fixed css for overflowing inline databases

This commit is contained in:
Leonardo Cavaletti 2020-05-26 18:57:40 +01:00
parent cc0fbee7ce
commit 752f6593b8

View File

@ -3,7 +3,7 @@ div[role="button"]:not(.notion-record-icon):hover {
background: rgba(55, 53, 47, 0.08);
}
/* hides loading spinner */
/* hides loading spinners */
.loading-spinner {
display: none !important;
}
@ -13,6 +13,21 @@ div[role="button"]:not(.notion-record-icon):hover {
display: none !important;
}
/* makes inline databases behave with window resizing */
.notion-collection_view-block {
width: 900px !important;
max-width: 100% !important;
}
.notion-collection_view-block > div,
.notion-collection_view-block .notion-list-view,
.notion-collection_view-block .notion-gallery-view,
.notion-collection_view-block .notion-table-view,
.notion-collection_view-block .notion-board-view,
.notion-collection_view-block .notion-calendar-view {
padding-left: unset !important;
padding-right: unset !important;
}
@media only screen and (max-width: 960px) {
/* normalizes banner width */
.notion-scroller > div > div:not([class]) {