From b6b246cda565f905e32c7cf76fa454eaabe8acf1 Mon Sep 17 00:00:00 2001 From: Pooja Kulkarni Date: Tue, 17 Sep 2024 11:41:34 -0400 Subject: [PATCH] fix: use flex instead --- 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 74a7400b64..0748c8da27 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: 100%; + 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: 5px; &:focus { opacity: 1;