Skip to content

Commit

Permalink
temp(Dialog): convert scss variable to calc
Browse files Browse the repository at this point in the history
  • Loading branch information
lakerswgq committed Nov 22, 2021
1 parent 7c24b78 commit 9a724fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialog/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@

#{$dialog-prefix}-header {
word-break: break-word;
padding-right: $dialog-close-right * 2 + $dialog-close-width;
padding-right: calc(#{$dialog-close-right} * 2 + #{$dialog-close-width});
}
#{$dialog-prefix}-body {
padding-right: $dialog-close-right * 2 + $dialog-close-width;
padding-right: calc(#{$dialog-close-right} * 2 + #{$dialog-close-width});
}
#{$dialog-prefix}-header + #{$dialog-prefix}-body {
padding: $dialog-content-padding-top $dialog-content-padding-left-right $dialog-content-padding-bottom $dialog-content-padding-left-right;
Expand Down

0 comments on commit 9a724fc

Please sign in to comment.