From dd2b59efe5309521a2d589d104ee89d2fbac8fc0 Mon Sep 17 00:00:00 2001 From: Shobhit-Nagpal Date: Mon, 20 Oct 2025 16:19:33 +0530 Subject: [PATCH] fix: move blue line to pseudo element --- .../QuickAddInline.module.scss | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/apps/client/src/features/rundown/entry-editor/quick-add-cursor/QuickAddInline.module.scss b/apps/client/src/features/rundown/entry-editor/quick-add-cursor/QuickAddInline.module.scss index 6f755df70..20e5557a7 100644 --- a/apps/client/src/features/rundown/entry-editor/quick-add-cursor/QuickAddInline.module.scss +++ b/apps/client/src/features/rundown/entry-editor/quick-add-cursor/QuickAddInline.module.scss @@ -2,15 +2,21 @@ display: flex; align-items: center; gap: 1rem; + height: 0; position: relative; - - background: $blue-500; z-index: $zindex-floating; + + &::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 1px; + background: $blue-500; + } } .addButton { - position: absolute; - top: 0; - left: 0; - transform: translateY(-50%); + position: relative; }