Skip to content

Commit 8a0a181

Browse files
committed
fix(ui): fix style
1 parent fdbfe38 commit 8a0a181

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

packages/ui/src/styles/components/card.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
@include e(header-action) {
36-
flex-shrink: 0;
36+
margin-left: 10px;
3737
}
3838

3939
@include e(content) {

packages/ui/src/styles/components/drawer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
@include e(body) {
5656
position: relative;
57-
flex-grow: 1;
57+
flex: 1 0 0;
5858
padding: 20px;
5959
overflow: hidden auto;
6060
}

packages/ui/src/styles/components/modal.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,20 @@
4545
box-shadow: 0 8px 40px 0 var(--#{$rd-prefix}shadow-color);
4646
}
4747

48+
@include e(header) {
49+
flex-shrink: 0;
50+
}
51+
4852
@include e(body) {
4953
position: relative;
5054
padding: 20px;
5155
overflow: hidden auto;
5256
}
5357

58+
@include e(footer) {
59+
flex-shrink: 0;
60+
}
61+
5462
@include e(icon) {
5563
flex-shrink: 0;
5664
margin-right: 16px;

0 commit comments

Comments
 (0)