From a196b174e2252713703820ccd88d13cf23604f94 Mon Sep 17 00:00:00 2001 From: Victor Batischev Date: Fri, 9 Feb 2024 22:19:49 +0300 Subject: [PATCH] partner card styles --- .../PartnerPersonCard/partnerPersonCard.scss | 21 +++++++++++-------- .../partnerСategories.scss | 5 +---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/PartnerPersonCard/partnerPersonCard.scss b/src/components/PartnerPersonCard/partnerPersonCard.scss index 160a5fbf..72a839d5 100644 --- a/src/components/PartnerPersonCard/partnerPersonCard.scss +++ b/src/components/PartnerPersonCard/partnerPersonCard.scss @@ -1,15 +1,19 @@ .partner-person-card { display: flex; position: relative; + width: 300px; &__img { background: white; - border-radius: 12px; - padding: 25px; + border-radius: 12px 0 0 12px; + padding: 5px; z-index: 2; + display: flex; + justify-content: center; + align-items: center; img { - width: 77px; - height: 77px; + width: 70px; + height: 70px; } } @@ -17,9 +21,8 @@ position: relative; background: #e1fccf; z-index: 1; - padding: 15px 15px 15px 30px; - left: -15px; - border-radius: 12px; + padding: 10px; + border-radius: 0 12px 12px 0; display: flex; flex-direction: column; justify-content: space-between; @@ -34,8 +37,8 @@ } &__more { - width: 41px; - height: 41px; + width: 30px; + height: 30px; background: white; border-radius: 50px; display: flex; diff --git a/src/pages/PartnerСategories/partnerСategories.scss b/src/pages/PartnerСategories/partnerСategories.scss index 146ba261..128c67c0 100644 --- a/src/pages/PartnerСategories/partnerСategories.scss +++ b/src/pages/PartnerСategories/partnerСategories.scss @@ -15,10 +15,7 @@ display: flex; gap: 10px; flex-wrap: wrap; - //flex-wrap: wrap; - //margin-top: 25px; - //row-gap: 24px; - //column-gap: 21px; + justify-content: center; } &__empty { font-size: 18px;