From 9c9f081970f2452889630a8632c8321d9e1b49ba Mon Sep 17 00:00:00 2001
From: Brandy Carney
Date: Thu, 12 Jul 2018 17:24:33 -0400
Subject: [PATCH] fix(button): add box-sizing so anchor buttons won't exceed
max-width
fixes #14760
---
core/src/components/button/button.scss | 1 +
core/src/components/button/test/expand/index.html | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/core/src/components/button/button.scss b/core/src/components/button/button.scss
index 2089444995..ea85c3a6ef 100644
--- a/core/src/components/button/button.scss
+++ b/core/src/components/button/button.scss
@@ -106,6 +106,7 @@
z-index: 0;
display: inline-block;
overflow: hidden;
+ box-sizing: border-box;
height: var(--height);
diff --git a/core/src/components/button/test/expand/index.html b/core/src/components/button/test/expand/index.html
index fa14e140ae..90e2ce767d 100644
--- a/core/src/components/button/test/expand/index.html
+++ b/core/src/components/button/test/expand/index.html
@@ -23,6 +23,14 @@
Block
Full
+
+ Button Block
+ Anchor Block
+
+
+ Button Full
+ Anchor Full
+
Block + Outline
Full + Outline
@@ -43,6 +51,7 @@
Block + Round
Full + Round
+