From 375d80cfda78775d195678e4f7409c091cb9ed51 Mon Sep 17 00:00:00 2001 From: Nathan Hinish Date: Mon, 19 Aug 2019 10:50:43 -0700 Subject: [PATCH] [core] fix(Drawer): use Sass variable $drawer-padding (#3689) Correcting use of $dialog-padding to $drawer-padding --- packages/core/src/components/drawer/_drawer.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/src/components/drawer/_drawer.scss b/packages/core/src/components/drawer/_drawer.scss index d98142f502..979682beab 100644 --- a/packages/core/src/components/drawer/_drawer.scss +++ b/packages/core/src/components/drawer/_drawer.scss @@ -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; } @@ -197,7 +197,7 @@ $drawer-default-size: 50%; line-height: inherit; &:last-child { - margin-right: $dialog-padding; + margin-right: $drawer-padding; } } @@ -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;