Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
tweaks: fix #32 wrap tables to page width
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonwocky committed Mar 10, 2022
1 parent 2e0842a commit 9c86917
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions tweaks/client.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,19 @@
.enhancer--tweak-normalise_table_scroll
.notion-page-template-modal
.notion-collection_view-block,
.enhancer--tweak-normalise_table_scroll .notion-collection-view-body .notion-table-view {
.enhancer--tweak-normalise_table_dscroll .notion-collection-view-body .notion-table-view {
width: 100% !important;
padding-left: 0;
padding-right: 0;
padding: 0 !important;
}
.enhancer--tweak-normalise_table_scroll
.notion-collection_view-block
> [contenteditable]
> .notion-scroller
> [class$='view'][style*='padding-left'],
.enhancer--tweak-normalise_table_scroll
.notion-collection_view-block
> :first-child[style*='padding-left'] {
padding-left: 0 !important;
}
.enhancer--tweak-normalise_table_scroll
.notion-collection_view-block
> [contenteditable]
> .notion-scroller
> [class$='view'][style*='padding-right'],
> [class$='view'][style*='padding'],
.enhancer--tweak-normalise_table_scroll
.notion-collection_view-block
> :first-child[style*='padding-right'] {
padding-right: 0 !important;
padding: 1px !important;
}

.enhancer--tweak-snappy_transitions * {
Expand Down

0 comments on commit 9c86917

Please sign in to comment.