From 4631ae9af7de45822cf1328109deaa482587d6e6 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Mon, 16 May 2022 17:58:12 +0300 Subject: [PATCH] start/order button tweaks --- src/components/@shared/ButtonBuy/index.tsx | 1 + src/components/@shared/atoms/Button/index.module.css | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/components/@shared/ButtonBuy/index.tsx b/src/components/@shared/ButtonBuy/index.tsx index 871df0b65..e2d8f32f4 100644 --- a/src/components/@shared/ButtonBuy/index.tsx +++ b/src/components/@shared/ButtonBuy/index.tsx @@ -161,6 +161,7 @@ export default function ButtonBuy({ type={type} onClick={onClick} disabled={disabled} + className="center" > {buttonText} diff --git a/src/components/@shared/atoms/Button/index.module.css b/src/components/@shared/atoms/Button/index.module.css index e187b43cf..da414c160 100644 --- a/src/components/@shared/atoms/Button/index.module.css +++ b/src/components/@shared/atoms/Button/index.module.css @@ -82,6 +82,11 @@ min-width: auto; } +.center { + margin: auto !important; + display: block; +} + /* Size Modifiers */ .small { font-size: var(--font-size-small);