Skip to content

Commit

Permalink
refactor(Cell): 单元格上下布局时,去除左右 padding
Browse files Browse the repository at this point in the history
  • Loading branch information
D-xuanmo committed Jul 15, 2023
1 parent 57eb74c commit c1099c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/assets/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ blockquote {
margin-top: var(--d-gap-sm);
padding: var(--d-gap-sm);
border-radius: var(--d-radius-medium);
background: var(--d-gray-1) !important;
background: #f8f8f8 !important;
line-height: 1.8;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/dl-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xuanmo/dl-common",
"version": "0.0.2-beta.19",
"version": "0.0.2-beta.20",
"author": {
"name": "xuanmo",
"email": "me@xuanmo.xin"
Expand Down
3 changes: 3 additions & 0 deletions packages/dl-common/src/cell/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
}

&-vertical {
padding-left: 0;
padding-right: 0;

> #{$parent} {
&__layout {
> #{$parent} {
Expand Down

0 comments on commit c1099c7

Please sign in to comment.