From 69ff105dff583a1c4725e413156717864aab62eb Mon Sep 17 00:00:00 2001 From: Akshay Barya Date: Fri, 15 Jul 2022 13:11:25 +0530 Subject: [PATCH 1/2] Fixed Cogotoast margin issue and disalignment between icons --- src/components/atoms/Toast/CogoToast/cogoToast.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/atoms/Toast/CogoToast/cogoToast.css b/src/components/atoms/Toast/CogoToast/cogoToast.css index ee2b562..f7a52fe 100644 --- a/src/components/atoms/Toast/CogoToast/cogoToast.css +++ b/src/components/atoms/Toast/CogoToast/cogoToast.css @@ -39,7 +39,7 @@ .ct-toast { display: flex; justify-content: center; - align-items: flex-start; + align-items: center; padding: 12px 20px; background-color: var(--primaryBg); box-shadow: 0 4px 12px var(--boxShadow); @@ -133,7 +133,6 @@ .ct-close-icon { font-size: 20px; - margin-top: 2px; cursor: pointer; } From 4b04d606b98d3851e34a71f265b6fc03e0c470c8 Mon Sep 17 00:00:00 2001 From: Akshay Barya Date: Fri, 15 Jul 2022 13:21:14 +0530 Subject: [PATCH 2/2] Fixed Alignment --- src/components/atoms/Toast/CogoToast/cogoToast.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/atoms/Toast/CogoToast/cogoToast.css b/src/components/atoms/Toast/CogoToast/cogoToast.css index f7a52fe..94521e4 100644 --- a/src/components/atoms/Toast/CogoToast/cogoToast.css +++ b/src/components/atoms/Toast/CogoToast/cogoToast.css @@ -39,7 +39,7 @@ .ct-toast { display: flex; justify-content: center; - align-items: center; + align-items: flex-start; padding: 12px 20px; background-color: var(--primaryBg); box-shadow: 0 4px 12px var(--boxShadow); @@ -103,12 +103,13 @@ .ct-heading { font-size: 16px; - margin: 0 0 6px 0; + margin: 0 0 4px 0; font-weight: 500; } .ct-text { font-size: 14px; + margin-top: 2px; line-height: 20px; }