From 2e42e134e445998a2330d9aaa09269283f955409 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 29 Dec 2022 18:52:37 -0800 Subject: [PATCH] Fix title spacing / display name --- src/renderer/components/feature-carousel/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/feature-carousel/index.tsx b/src/renderer/components/feature-carousel/index.tsx index 31adca19..7add1ef8 100644 --- a/src/renderer/components/feature-carousel/index.tsx +++ b/src/renderer/components/feature-carousel/index.tsx @@ -27,7 +27,7 @@ const Grid = styled.div` grid-auto-columns: 1fr; grid-template-areas: 'image info'; grid-template-rows: 1fr; - grid-template-columns: 250px 1fr; + grid-template-columns: 225px 1fr; gap: 0.5rem; width: 100%; max-width: 100%; @@ -81,7 +81,8 @@ const Wrapper = styled(Link)` `; const TitleWrapper = styled.div` - display: webkit-box; + /* stylelint-disable-next-line value-no-vendor-prefix */ + display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;