Skip to content

Commit

Permalink
fix: [dashboard] add row padding (#9381)
Browse files Browse the repository at this point in the history
  • Loading branch information
nytai authored Mar 26, 2020
1 parent 9eb5bad commit f5cc0ef
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion superset-frontend/src/dashboard/stylesheets/components/row.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f5cc0ef

Please sign in to comment.