From 8cf50584562b8d06793835affb70f7cb189b1f05 Mon Sep 17 00:00:00 2001 From: "tabler.developer@gmail.com" Date: Tue, 15 Aug 2023 21:50:59 +0200 Subject: [PATCH] add google-brand icon --- site/components/Icon.tsx | 17 +++++++++++++++++ site/components/Signin.tsx | 2 +- site/styles/_buttons.scss | 1 + site/styles/_grid.scss | 4 ++++ 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/site/components/Icon.tsx b/site/components/Icon.tsx index 63f189cc1..cc5a27052 100644 --- a/site/components/Icon.tsx +++ b/site/components/Icon.tsx @@ -33,6 +33,23 @@ const icons = { > + ), + 'brand-google': ({ className }) => ( + + + + ), 'brand-sketch': ({ className }) => (
handleLogin('google')} className="btn w-100"> - {/* */} + Login with Google
diff --git a/site/styles/_buttons.scss b/site/styles/_buttons.scss index 1d838479c..b618c90af 100644 --- a/site/styles/_buttons.scss +++ b/site/styles/_buttons.scss @@ -46,6 +46,7 @@ .icon { width: divide(20, 16) * 1em; + min-width: divide(20, 16) * 1em; height: divide(20, 16) * 1em; vertical-align: bottom; margin-right: $gap-2; diff --git a/site/styles/_grid.scss b/site/styles/_grid.scss index 395344218..8c8c1f49d 100644 --- a/site/styles/_grid.scss +++ b/site/styles/_grid.scss @@ -1,3 +1,7 @@ +.row > * { + min-width: 0; +} + .container, .container-fluid { width: 100%;