From e86fdc505b34a31655b184eb99d9b6b09ddcbd71 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Thu, 13 Jul 2017 10:01:04 -0500 Subject: [PATCH] fix(order-summary): make sure button styles are scoped properly (#225) --- .../order-summary/_order-summary.scss | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/order-summary/_order-summary.scss b/src/components/order-summary/_order-summary.scss index 78087362328c..e8857b36dac1 100644 --- a/src/components/order-summary/_order-summary.scss +++ b/src/components/order-summary/_order-summary.scss @@ -73,6 +73,19 @@ .bx--order-total-container { padding: 1.125rem 1.25rem 0; + + .bx--btn { + width: 100%; + margin-top: 1rem; + + &:first-of-type { + margin-top: 2rem; + } + + &:last-of-type { + margin-bottom: 2rem; + } + } } .bx--order-total { @@ -104,19 +117,6 @@ font-style: italic; } -.bx--btn { - width: 100%; - margin-top: 1rem; - - &:first-of-type { - margin-top: 2rem; - } - - &:last-of-type { - margin-bottom: 2rem; - } -} - .bx--order-footer { display: flex; align-items: center;