This is an automated email from the ASF dual-hosted git repository.

craigrueda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f5cc0ef  fix: [dashboard] add row padding (#9381)
f5cc0ef is described below

commit f5cc0ef90666f15701549de863ae40fcaf6e424d
Author: ʈᵃᵢ <[email protected]>
AuthorDate: Thu Mar 26 08:18:53 2020 -0700

    fix: [dashboard] add row padding (#9381)
---
 .../src/dashboard/stylesheets/components/row.less              | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/dashboard/stylesheets/components/row.less 
b/superset-frontend/src/dashboard/stylesheets/components/row.less
index 85f0ed6..87b376f 100644
--- a/superset-frontend/src/dashboard/stylesheets/components/row.less
+++ b/superset-frontend/src/dashboard/stylesheets/components/row.less
@@ -57,10 +57,18 @@
   .dashboard-component-tabs > .hover-menu + div:after {
     border: 1px dashed @gray-light;
   }
+
+  /* provide hit area in case row contents is edge to edge */
+  .dashboard-component-tabs-content {
+    .dragdroppable-row {
+      padding-top: 16px;
+    }
+  }
 }
 
 .grid-row.grid-row--empty {
-  align-items: center; /* this centers the empty note content */
+  /* this centers the empty note content */
+  align-items: center;
   height: 100px;
 
   &:before {

Reply via email to