Skip to content

Commit 26c6091

Browse files
committed
Changed dropdown height to be more responsive and used same scrollbar as other components
1 parent 8504a27 commit 26c6091

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/styles/main.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ abbr {
413413

414414
position: absolute;
415415
width: 100%;
416-
height: 20rem;
416+
height: 50vh;
417417
overflow-y: auto;
418418

419419
background-color: var(--clr-bg-secondary);
@@ -437,6 +437,19 @@ abbr {
437437
overflow: hidden;
438438
}
439439

440+
.selector__dropdown::-webkit-scrollbar {
441+
width: 8px;
442+
}
443+
444+
.selector__dropdown::-webkit-scrollbar-thumb {
445+
background: var(--scrollbar-thumb);
446+
border-radius: 4px;
447+
}
448+
449+
.selector__dropdown::-webkit-scrollbar-thumb:hover {
450+
background: var(--scrollbar-thumb);
451+
}
452+
440453
.selector__item {
441454
position: relative;
442455
cursor: pointer;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy