From b5871e7e0b13f23beaf51aed96e159d13a1cec44 Mon Sep 17 00:00:00 2001 From: Gerold Busch Date: Sun, 4 Sep 2022 12:53:27 +0200 Subject: [PATCH 1/2] fix padding in tabs --- .../src/dashboard/stylesheets/components/row.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/superset-frontend/src/dashboard/stylesheets/components/row.less b/superset-frontend/src/dashboard/stylesheets/components/row.less index 87b376f51dbfd..a84cdc722d777 100644 --- a/superset-frontend/src/dashboard/stylesheets/components/row.less +++ b/superset-frontend/src/dashboard/stylesheets/components/row.less @@ -66,6 +66,11 @@ } } +/* gutters between rows within tab */ +.dashboard-component-tabs-content > div:not(:only-child):not(:last-child):not(.empty-droptarget) { + margin-bottom: 16px; +} + .grid-row.grid-row--empty { /* this centers the empty note content */ align-items: center; From e4b1b9234c0110eae9176bc8064927b8d7ca4953 Mon Sep 17 00:00:00 2001 From: Gerold Busch Date: Sun, 4 Sep 2022 13:15:00 +0200 Subject: [PATCH 2/2] format row.less --- .../src/dashboard/stylesheets/components/row.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/stylesheets/components/row.less b/superset-frontend/src/dashboard/stylesheets/components/row.less index a84cdc722d777..ec096d0bfa949 100644 --- a/superset-frontend/src/dashboard/stylesheets/components/row.less +++ b/superset-frontend/src/dashboard/stylesheets/components/row.less @@ -67,7 +67,8 @@ } /* gutters between rows within tab */ -.dashboard-component-tabs-content > div:not(:only-child):not(:last-child):not(.empty-droptarget) { +.dashboard-component-tabs-content + > div:not(:only-child):not(:last-child):not(.empty-droptarget) { margin-bottom: 16px; }