From 4e2253d0ac907918a94600e05efbd1c69b3c258d Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Thu, 10 Mar 2022 22:53:50 +1100 Subject: [PATCH] tweaks: fix #32 wrap tables to page width --- repo/tweaks/client.css | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/repo/tweaks/client.css b/repo/tweaks/client.css index 70f06d3..dac5ef4 100644 --- a/repo/tweaks/client.css +++ b/repo/tweaks/client.css @@ -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 * {