From 3fd79ee4fac652e7ef9a94a6a316364f27c32f7d Mon Sep 17 00:00:00 2001 From: Theophyl Hoguet Date: Fri, 17 Mar 2023 03:08:57 +0100 Subject: [PATCH] list on top of image --- frontend/src/customSelect.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/customSelect.css b/frontend/src/customSelect.css index c714b44..0c9eafc 100644 --- a/frontend/src/customSelect.css +++ b/frontend/src/customSelect.css @@ -3,7 +3,7 @@ text-align: left; outline: none; height: 47px; - line-height: 47px; + line-height: 45px; } .custom-select .selected { @@ -42,6 +42,7 @@ } .custom-select .items { + position: sticky; color: #fff; border-radius: 0px 0px 6px 6px; overflow: hidden; @@ -49,6 +50,9 @@ border-left: 1px solid #646cff; border-bottom: 1px solid #646cff; background-color: #1a1a1a; + overflow-y: auto; + max-height: 50vh; + z-index: 1; } .custom-select .items div {