From 32e5fa68d82cf8fb1d49bb092a618b15ba5f48bf Mon Sep 17 00:00:00 2001 From: Pooja Kulkarni <13742492+pkulkark@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:30:19 -0500 Subject: [PATCH] fix: Adjust styling when title is truncated (#1382) --- src/course-outline/card-header/CardHeader.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/course-outline/card-header/CardHeader.scss b/src/course-outline/card-header/CardHeader.scss index 7fcdae9de5..29a4a8e847 100644 --- a/src/course-outline/card-header/CardHeader.scss +++ b/src/course-outline/card-header/CardHeader.scss @@ -5,7 +5,7 @@ .item-card-header__title-btn { justify-content: flex-start; padding: 0; - width: fit-content; + flex: 1 1 0%; height: 1.5rem; margin-right: .25rem; background: transparent; @@ -15,6 +15,7 @@ .item-card-edit-icon { opacity: 0; transition: opacity .3s linear; + margin-right: .5rem; &:focus { opacity: 1;