From dc2b3f6901d27e96649e1f78d150b5981434a2e2 Mon Sep 17 00:00:00 2001 From: Yan Zhylavy Date: Mon, 2 Dec 2024 16:14:14 +0200 Subject: [PATCH] Change gaps and fixed height for test elements on CompanyCard --- FrontEnd/src/components/CompanyCard/CompanyCard.module.css | 7 ++++--- .../src/pages/LandingPage/Companies/Companies.module.css | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/FrontEnd/src/components/CompanyCard/CompanyCard.module.css b/FrontEnd/src/components/CompanyCard/CompanyCard.module.css index 15165a72..97f18682 100644 --- a/FrontEnd/src/components/CompanyCard/CompanyCard.module.css +++ b/FrontEnd/src/components/CompanyCard/CompanyCard.module.css @@ -59,7 +59,7 @@ flex-direction: column; align-items: flex-start; box-sizing: border-box; - gap: 16px; + gap: 12px; padding: 16px; border-radius: 0 0 12px 12px; } @@ -68,7 +68,7 @@ display: flex; flex-direction: column; align-items: flex-start; - gap: 16px; + gap: 12px; } .company-card__category-text { @@ -81,7 +81,7 @@ line-height: 120%; text-align: left; max-width: 262px; - height: 35px; + height: 32px; } .company-card__name-text { @@ -94,6 +94,7 @@ text-transform: uppercase; text-align: left; overflow: hidden; + height: 44px; } .company-card__region-text { diff --git a/FrontEnd/src/pages/LandingPage/Companies/Companies.module.css b/FrontEnd/src/pages/LandingPage/Companies/Companies.module.css index b42c55d2..651b7e43 100644 --- a/FrontEnd/src/pages/LandingPage/Companies/Companies.module.css +++ b/FrontEnd/src/pages/LandingPage/Companies/Companies.module.css @@ -26,7 +26,7 @@ .new-companies-link-to-all { position: absolute; right: 41px; - top: 6px + top: 7px } .new-companies-link-to-all a {