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;
grid-template-rows: 1fr auto;
overflow: hidden;
max-height: 530px;
max-height: calc(100% - 4.5em);
top: 3.5em;
}
.options_content {
@@ -210,6 +210,10 @@ export default defineComponent({
@use '../../styles/dropdown';
@use '../../styles/dropdown-filters';
.dropdown_wrapper {
top: 2.5em;
}
.search_content > div {
margin: 0.5em auto;
}
+1 -1
View File
@@ -85,7 +85,7 @@ h1.option-title {
}
}
@include responsive.smallScreen{
@include responsive.smallScreen {
h1 {
text-align: center;
+1 -2
View File
@@ -26,7 +26,7 @@
.dropdown_wrapper {
position: absolute;
left: 0;
top: calc(100% + 0.5em);
top: 0;
background-color: var(--clr-bg3);
box-shadow: 0 0 5px 1px var(--clr-primary);
@@ -34,7 +34,6 @@
width: 100%;
max-width: 550px;
max-height: 750px;
overflow: auto;
padding: 1em;
+2 -3
View File
@@ -24,8 +24,8 @@
width: 100%;
margin: 0 auto;
padding: 1em 0;
position: relative;
}
.journal_refreshed-date {
@@ -57,7 +57,6 @@
justify-content: space-between;
align-items: center;
gap: 0.5em;
position: relative;
}
.btn--load-data {
@@ -68,7 +67,7 @@
font-size: 1.2em;
}
@include responsive.smallScreen{
@include responsive.smallScreen {
.journal_top-bar {
justify-content: center;
flex-wrap: wrap;
-1
View File
@@ -130,7 +130,6 @@ export default defineComponent({
align-items: center;
gap: 0.5em;
position: relative;
margin-bottom: 0.5em;
}