Skip to content

A self-hosted media server and file management system

fix: dropdowns and selects have inconsistent backgrounds and blur

aminnausinda5889485acb
diff --git a/resources/js/components/cedar-ui/dropdown-menu/DropdownMenu.vue b/resources/js/components/cedar-ui/dropdown-menu/DropdownMenu.vue
index 90eb7c73..f7fef9d5 100644
--- a/resources/js/components/cedar-ui/dropdown-menu/DropdownMenu.vue
+++ b/resources/js/components/cedar-ui/dropdown-menu/DropdownMenu.vue
@@ -68,7 +68,7 @@ onUnmounted(() => {
:style="manualPosition ? `left: ${manualPosition}px;` : ''"
ref="dropdown"
>
- <div class="bg-overlay-t border-overlay-border text-foreground-0 mt-1 rounded-md border p-1 shadow-md backdrop-blur-lg">
+ <div class="bg-overlay-2-t border-overlay-border/10 text-foreground-0 mt-1 rounded-md border p-1 shadow-md backdrop-blur-xs">
<div class="truncate px-2 py-1.5 font-medium" v-if="userData" :title="userData.email">
{{ userData.email }}
</div>
diff --git a/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue b/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue
index 07a26b23..52e353b6 100644
--- a/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue
+++ b/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue
@@ -197,7 +197,7 @@ watch(
'bottom-0 mb-11': select.selectDropdownPosition == 'top',
'top-0 mt-11': select.selectDropdownPosition == 'bottom',
}"
- class="bg-overlay-2-t ring-r-button absolute z-30 mt-1 max-h-58 w-full overflow-clip rounded-md shadow-md ring-1 backdrop-blur-lg transition duration-(--duration-input) ease-in-out"
+ class="bg-overlay-2-t ring-r-button absolute z-30 mt-1 max-h-58 w-full overflow-clip rounded-md shadow-md ring-1 backdrop-blur-xs transition duration-(--duration-input) ease-in-out"
:options="{
allowOutsideClick: true,
initialFocus: () => selectInput?.el,
diff --git a/resources/js/components/cedar-ui/select/InputSelect.vue b/resources/js/components/cedar-ui/select/InputSelect.vue
index 959992d2..5a71ca18 100644
--- a/resources/js/components/cedar-ui/select/InputSelect.vue
+++ b/resources/js/components/cedar-ui/select/InputSelect.vue
@@ -144,7 +144,7 @@ watch(
<div
v-show="select.selectOpen"
:class="[select.selectDropdownPosition == 'top' ? `bottom-0 ${menuMargin?.bottom ?? 'mb-11'}` : `top-0 ${menuMargin?.top ?? 'mt-11'}`]"
- class="bg-overlay-t ring-r-button absolute z-30 mt-1 max-h-56 w-full overflow-clip rounded-md shadow-md ring-1 backdrop-blur-lg transition duration-(--duration-input) ease-in-out"
+ class="bg-overlay-2-t ring-r-button absolute z-30 mt-1 max-h-56 w-full overflow-clip rounded-md shadow-md ring-1 backdrop-blur-xs transition duration-(--duration-input) ease-in-out"
@keydown.esc.stop="select.toggleSelect(false)"
@keydown.down.stop.prevent="select.selectableItemActiveNext()"
@keydown.up.stop.prevent="select.selectableItemActivePrevious()"