From 17b0eb5d4ce091999336f815ecec764a509d9a4e Mon Sep 17 00:00:00 2001 From: Cooper Larson Date: Thu, 22 Aug 2024 17:25:08 -0600 Subject: [PATCH] scss clamp .title font-size --- src/app/_components/Card/index.module.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/_components/Card/index.module.scss b/src/app/_components/Card/index.module.scss index b926c74..691bda9 100644 --- a/src/app/_components/Card/index.module.scss +++ b/src/app/_components/Card/index.module.scss @@ -45,6 +45,10 @@ .title { margin: 0; + font-size: clamp(1rem, 1.5vw, 2rem); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .titleLink {