Skip to content

Commit

Permalink
[core] fix(Drawer): use Sass variable $drawer-padding (palantir#3689)
Browse files Browse the repository at this point in the history
Correcting use of $dialog-padding to $drawer-padding
  • Loading branch information
nathanhinish authored and adidahiya committed Aug 19, 2019
1 parent e9c501c commit 375d80c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/core/src/components/drawer/_drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,14 @@ $drawer-default-size: 50%;
position: relative;
border-radius: 0;
box-shadow: 0 1px 0 $pt-divider-black;
min-height: $pt-icon-size-large + $dialog-padding;
padding: $dialog-padding / 4;
padding-left: $dialog-padding;
min-height: $pt-icon-size-large + $drawer-padding;
padding: $drawer-padding / 4;
padding-left: $drawer-padding;

.#{$ns}-icon-large,
.#{$ns}-icon {
flex: 0 0 auto;
margin-right: $dialog-padding / 2;
margin-right: $drawer-padding / 2;
color: $pt-icon-color;
}

Expand All @@ -197,7 +197,7 @@ $drawer-default-size: 50%;
line-height: inherit;

&:last-child {
margin-right: $dialog-padding;
margin-right: $drawer-padding;
}
}

Expand All @@ -221,7 +221,7 @@ $drawer-default-size: 50%;
flex: 0 0 auto;
position: relative;
box-shadow: inset 0 1px 0 $pt-divider-black;
padding: $dialog-padding/2 $dialog-padding;
padding: $drawer-padding/2 $drawer-padding;

.#{$ns}-dark & {
box-shadow: inset 0 1px 0 $pt-dark-divider-black;
Expand Down

0 comments on commit 375d80c

Please sign in to comment.