From 38b40f46fd40929573f4a4e6d5c70fac3e301e08 Mon Sep 17 00:00:00 2001 From: Tiago Noronha Date: Fri, 20 Sep 2024 19:14:12 +0100 Subject: [PATCH] A4A: Fix table padding in the DataViews table (#94590) --- .../sections/sites/sites-dashboard/style.scss | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/client/a8c-for-agencies/sections/sites/sites-dashboard/style.scss b/client/a8c-for-agencies/sections/sites/sites-dashboard/style.scss index dbe0b1cbeed6d..0d7e1a8fadb64 100644 --- a/client/a8c-for-agencies/sections/sites/sites-dashboard/style.scss +++ b/client/a8c-for-agencies/sections/sites/sites-dashboard/style.scss @@ -50,6 +50,33 @@ border-radius: 4px; } + .dataviews__view-actions, + .dataviews-filters__container { + padding: 16px; + + @media (min-width: $break-small) { + padding: 16px 64px; + } + } + + .dataviews-view-table tr td:first-child, + .dataviews-view-table tr th:first-child { + padding-left: 16px; + + @media (min-width: $break-small) { + padding-left: 64px; + } + } + + .dataviews-view-table tr td:last-child, + .dataviews-view-table tr th:last-child { + padding-right: 16px; + + @media (min-width: $break-small) { + padding-right: 64px; + } + } + @media (min-width: $break-large) { background: inherit;