Skip to content

Commit

Permalink
fix(ui): fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 15, 2023
1 parent fdbfe38 commit 8a0a181
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/styles/components/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

@include e(header-action) {
flex-shrink: 0;
margin-left: 10px;
}

@include e(content) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/styles/components/drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

@include e(body) {
position: relative;
flex-grow: 1;
flex: 1 0 0;
padding: 20px;
overflow: hidden auto;
}
Expand Down
8 changes: 8 additions & 0 deletions packages/ui/src/styles/components/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,20 @@
box-shadow: 0 8px 40px 0 var(--#{$rd-prefix}shadow-color);
}

@include e(header) {
flex-shrink: 0;
}

@include e(body) {
position: relative;
padding: 20px;
overflow: hidden auto;
}

@include e(footer) {
flex-shrink: 0;
}

@include e(icon) {
flex-shrink: 0;
margin-right: 16px;
Expand Down

0 comments on commit 8a0a181

Please # to comment.