From 1aeae456d2d556e52a7cb725583f4f5ca049cfd8 Mon Sep 17 00:00:00 2001 From: Benjamin Hodgson Date: Tue, 20 Apr 2021 13:22:57 -0400 Subject: [PATCH 1/2] Add appearance:button to s-btn --- lib/css/components/_stacks-buttons.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/css/components/_stacks-buttons.less b/lib/css/components/_stacks-buttons.less index 560c6ac28e..4398952fd6 100644 --- a/lib/css/components/_stacks-buttons.less +++ b/lib/css/components/_stacks-buttons.less @@ -34,6 +34,10 @@ text-decoration: none; cursor: pointer; user-select: none; + + -webkit-appearance: button; + -moz-appearance: button; + appearance: button; // Override for buttons having inline-block by default &.grid { From b628edae6975fa9b69f5a8576b1906a78f916eab Mon Sep 17 00:00:00 2001 From: Aaron Shekey Date: Mon, 26 Apr 2021 13:21:54 -0500 Subject: [PATCH 2/2] Comment --- lib/css/components/_stacks-buttons.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/css/components/_stacks-buttons.less b/lib/css/components/_stacks-buttons.less index 4398952fd6..ab23e7e792 100644 --- a/lib/css/components/_stacks-buttons.less +++ b/lib/css/components/_stacks-buttons.less @@ -34,7 +34,9 @@ text-decoration: none; cursor: pointer; user-select: none; - + + // Guard against the difference in configurable resets + // Eric Meyer's reset does not include this, while normalize.css does -webkit-appearance: button; -moz-appearance: button; appearance: button;