diff options
| author | 2022-11-20 14:46:39 +0100 | |
|---|---|---|
| committer | 2022-11-20 14:46:39 +0100 | |
| commit | 278e07f7bdfc1c81129a261d59311bc82461366c (patch) | |
| tree | 486e393985b7d4ef1dc650fa86fa9d49ddd5229f | |
| parent | e7aa0628581a8d010561959f7b80ce7e1a3784ab (diff) | |
fix: over flowing table that destroy the layout (#4872)
29 files changed, 50 insertions, 58 deletions
diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 4cab202f6..1238dc494 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -123,8 +123,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color-dark); } diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index a98691b40..341d504c2 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -123,8 +123,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color-dark); } diff --git a/p/themes/Ansum/_tables.scss b/p/themes/Ansum/_tables.scss index 4955fff6a..7376279e0 100644 --- a/p/themes/Ansum/_tables.scss +++ b/p/themes/Ansum/_tables.scss @@ -5,8 +5,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid variables.$grey-medium-light; } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index dfc7562f9..904335955 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -201,8 +201,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #e4d8cc; } diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index c5809c501..3ce5662db 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -201,8 +201,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #e4d8cc; } diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index c76057e79..14f1cd612 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -75,8 +75,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index cf4980cee..66cca16fe 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -75,8 +75,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 61f28bde8..b177c5723 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -87,8 +87,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #333; } diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 562c2addf..1851cfc3e 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -87,8 +87,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #333; } diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index ff866f413..4a4028db7 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -79,8 +79,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 84142e6de..ae823acfc 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -79,8 +79,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Mapco/_tables.scss b/p/themes/Mapco/_tables.scss index 4955fff6a..7376279e0 100644 --- a/p/themes/Mapco/_tables.scss +++ b/p/themes/Mapco/_tables.scss @@ -5,8 +5,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid variables.$grey-medium-light; } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 656cb87a2..5a6b44b9a 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -200,8 +200,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #d5d8db; } diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index a1aaa42f6..0004bd1e3 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -200,8 +200,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #d5d8db; } diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 65d2f8bea..f7ffb7cf7 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -95,10 +95,6 @@ button.as-link[disabled] { } /*=== Tables */ -tr, th, td { - padding: 0.5em; -} - form td, form th { font-weight: normal; diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 570b77d62..b1015d7de 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -95,10 +95,6 @@ button.as-link[disabled] { } /*=== Tables */ -tr, th, td { - padding: 0.5em; -} - form td, form th { font-weight: normal; diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 5420c577f..0b7903253 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -156,8 +156,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color); } diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 036641bf9..7c8efb776 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -156,8 +156,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid var(--border-color); } diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 292f2eae2..0548947ae 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -69,8 +69,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 6e2d1ed38..50f698244 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -69,8 +69,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index 499d65342..de114e436 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -73,8 +73,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index 856043850..6e9e58dbc 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -73,8 +73,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index ae598f146..bbd6a76c5 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -162,10 +162,8 @@ table { border-collapse: collapse; } -tr, td, th { - padding: 0.5em; border: 1px solid var(--color-border-light-darker); } diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index bcc218301..01930825e 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -162,10 +162,8 @@ table { border-collapse: collapse; } -tr, td, th { - padding: 0.5em; border: 1px solid var(--color-border-light-darker); } diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 8ca92e253..e1b361844 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -202,10 +202,8 @@ table { border-collapse: collapse; } -tr, td, th { - padding: 0.5em; border: 1px solid var(--color-border-light-darker); } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 9f2e23a9c..6b8f1ec49 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -61,8 +61,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { } th { diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index da9d401a9..5dbeb1c8d 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -61,8 +61,7 @@ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { } th { diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 42f6c05f6..f5aaea902 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -333,9 +333,14 @@ button.as-link[disabled] { } table { + margin: 0.5rem 0; max-width: 100%; } +th, td { + padding: 0.5rem; +} + th.numeric, td.numeric { text-align: center; @@ -1280,6 +1285,7 @@ a.website:hover .favicon { padding: 0.75rem; line-height: 1.5; word-wrap: break-word; + overflow: auto; } .content.large { @@ -2132,6 +2138,14 @@ input:checked + .slide-container .properties { padding: 1rem; } + table { + font-size: 0.9rem; + } + + th, td { + padding: 0.25rem; + } + .notification { top: 0; left: 0; diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 77ff17934..d3fdf4a02 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -333,9 +333,14 @@ button.as-link[disabled] { } table { + margin: 0.5rem 0; max-width: 100%; } +th, td { + padding: 0.5rem; +} + th.numeric, td.numeric { text-align: center; @@ -1280,6 +1285,7 @@ a.website:hover .favicon { padding: 0.75rem; line-height: 1.5; word-wrap: break-word; + overflow: auto; } .content.large { @@ -2132,6 +2138,14 @@ input:checked + .slide-container .properties { padding: 1rem; } + table { + font-size: 0.9rem; + } + + th, td { + padding: 0.25rem; + } + .notification { top: 0; right: 0; |
