Dropdown improvements
This commit is contained in:
1 file changed
+3
-3
@@ -12,7 +12,7 @@
|
||||
}
|
||||
|
||||
.dropdown-arrow {
|
||||
@apply w-4 h-4 transition-transform stroke-current stroke-2 fill-none;
|
||||
@apply w-3 h-3 transition-transform stroke-current stroke-2 fill-none;
|
||||
}
|
||||
|
||||
.dropdown-arrow.open {
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
@apply absolute z-50 mt-1 w-full rounded-md shadow-lg overflow-hidden
|
||||
@apply absolute z-50 mt-1 w-full rounded-md shadow-2xl overflow-hidden
|
||||
bg-(--col2) border border-(--col4)
|
||||
origin-top
|
||||
opacity-0 scale-95 -translate-y-1 pointer-events-none
|
||||
@@ -32,7 +32,7 @@
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
@apply px-2 py-1 cursor-pointer text-white transition-colors;
|
||||
@apply px-2 py-1 cursor-pointer text-white transition-colors border-b border-(--col4) last:border-b-0;
|
||||
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
|
||||
Reference in new issue
Block a user