fix: move blue line to pseudo element

This commit is contained in:
Shobhit-Nagpal
2025-10-20 16:19:33 +05:30
committed by Carlos Valente
parent 5788785b3e
commit dd2b59efe5
@@ -2,15 +2,21 @@
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
height: 0;
position: relative; position: relative;
background: $blue-500;
z-index: $zindex-floating; z-index: $zindex-floating;
}
.addButton { &::before {
content: '';
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
transform: translateY(-50%); right: 0;
height: 1px;
background: $blue-500;
}
}
.addButton {
position: relative;
} }