From c7993b5281ed84dd301c3640f9ce9ef0cce14c68 Mon Sep 17 00:00:00 2001 From: Ans Date: Tue, 12 Nov 2024 09:23:42 -0500 Subject: [PATCH] Buttons: add `justify-content: center` --- .../cfpb-design-system/src/components/cfpb-buttons/button.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cfpb-design-system/src/components/cfpb-buttons/button.scss b/packages/cfpb-design-system/src/components/cfpb-buttons/button.scss index 68b63f2ee..ef4f66d80 100644 --- a/packages/cfpb-design-system/src/components/cfpb-buttons/button.scss +++ b/packages/cfpb-design-system/src/components/cfpb-buttons/button.scss @@ -24,6 +24,7 @@ input.a-btn::-moz-focus-inner { appearance: none; display: flex; gap: math.div(10px, $base-font-size-px) + rem; + justify-content: center; box-sizing: border-box; padding: math.div($btn-v-padding, $btn-font-size) + em