From 902b8983a33d3b5e015bfc14a8769fb91e77f604 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 23 Apr 2024 10:30:26 -0700 Subject: [PATCH 1/2] fix: Fix truncation on public shares Signed-off-by: Christopher Ng --- core/css/header.scss | 11 +++++++++++ core/templates/layout.public.php | 26 +++++++++++++++----------- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/core/css/header.scss b/core/css/header.scss index b2307fce215d8..5d51b1b711ffe 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -219,6 +219,17 @@ flex: 1 1 100%; } +.header-info { + display: flex; + flex-direction: column; + overflow: hidden; +} + +.header-title { + overflow: hidden; + text-overflow: ellipsis; +} + .header-shared-by { color: var(--color-primary-element-text); position: relative; diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 2c55240598c40..f880e87b11860 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -39,18 +39,22 @@