chore: improved option dropdowns responsiveness

This commit is contained in:
2026-04-16 14:45:12 +02:00
parent 987819d42e
commit 221bba32d2
6 changed files with 10 additions and 8 deletions
@@ -336,7 +336,8 @@ export default defineComponent({
display: grid; display: grid;
grid-template-rows: 1fr auto; grid-template-rows: 1fr auto;
overflow: hidden; overflow: hidden;
max-height: 530px; max-height: calc(100% - 4.5em);
top: 3.5em;
} }
.options_content { .options_content {
@@ -210,6 +210,10 @@ export default defineComponent({
@use '../../styles/dropdown'; @use '../../styles/dropdown';
@use '../../styles/dropdown-filters'; @use '../../styles/dropdown-filters';
.dropdown_wrapper {
top: 2.5em;
}
.search_content > div { .search_content > div {
margin: 0.5em auto; margin: 0.5em auto;
} }
+1 -2
View File
@@ -26,7 +26,7 @@
.dropdown_wrapper { .dropdown_wrapper {
position: absolute; position: absolute;
left: 0; left: 0;
top: calc(100% + 0.5em); top: 0;
background-color: var(--clr-bg3); background-color: var(--clr-bg3);
box-shadow: 0 0 5px 1px var(--clr-primary); box-shadow: 0 0 5px 1px var(--clr-primary);
@@ -34,7 +34,6 @@
width: 100%; width: 100%;
max-width: 550px; max-width: 550px;
max-height: 750px;
overflow: auto; overflow: auto;
padding: 1em; padding: 1em;
+1 -2
View File
@@ -24,8 +24,8 @@
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
padding: 1em 0; padding: 1em 0;
position: relative;
} }
.journal_refreshed-date { .journal_refreshed-date {
@@ -57,7 +57,6 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
gap: 0.5em; gap: 0.5em;
position: relative;
} }
.btn--load-data { .btn--load-data {
-1
View File
@@ -130,7 +130,6 @@ export default defineComponent({
align-items: center; align-items: center;
gap: 0.5em; gap: 0.5em;
position: relative;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }