Skip to content

Commit

Permalink
fix: grid & table footer margin (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
wulv authored and cpylua committed Mar 29, 2019
1 parent 873a7b4 commit 2df9552
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/zent/assets/grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $border-color: $theme-stroke-6;

th,
td {
border: 1px solid $border-color;
box-shadow: inset 1px -1px 0 0 $theme-stroke-6;
}

.zent-grid-header th {
Expand Down Expand Up @@ -278,7 +278,7 @@ $border-color: $theme-stroke-6;
}

&-tfoot {
margin-top: 10px;
margin-top: 16px;
overflow: hidden;

.zent-grid-tfoot-page {
Expand Down
2 changes: 1 addition & 1 deletion packages/zent/assets/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ $orange: $theme-error-3;
}

.tfoot {
margin-top: 10px;
margin-top: 16px;
box-sizing: border-box;

&__batchcomponents {
Expand Down

0 comments on commit 2df9552

Please sign in to comment.