From 41f87531693c052832a13e62635daa33bcabfb56 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 8 Mar 2022 02:01:36 -0800 Subject: [PATCH] Restrict to one line of text in GridRep There's a max-width though, we'll fix it later --- components/GridRep/index.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/GridRep/index.scss b/components/GridRep/index.scss index 288b6ac6..37b5a10d 100644 --- a/components/GridRep/index.scss +++ b/components/GridRep/index.scss @@ -65,6 +65,11 @@ h2 { color: $grey-00; font-size: $font-regular; + overflow: hidden; + padding-bottom: 1px; + text-overflow: ellipsis; + white-space: nowrap; + max-width: 258px; // Can we not do this? &.empty { color: $grey-50;