chore(dropdown): improved dropdown relative elements and alignment

This commit is contained in:
2026-04-16 22:37:04 +02:00
parent 91ab3ad8ab
commit 119d79b071
7 changed files with 16 additions and 8 deletions
@@ -338,9 +338,15 @@ export default defineComponent({
overflow: hidden; overflow: hidden;
max-height: calc(100% - 4.5em); max-height: calc(100% - 4.5em);
top: 3.5em; top: 3.5em;
padding: 1em 0;
} }
.options_content { .options_content {
overflow: auto; overflow: auto;
padding: 0 1em;
}
.options_actions {
padding: 0 1em;
} }
</style> </style>
@@ -69,5 +69,6 @@ function navigateToProfile() {
left: auto; left: auto;
right: 0; right: 0;
max-width: 700px; max-width: 700px;
top: 3.5em;
} }
</style> </style>
@@ -278,6 +278,10 @@ export default defineComponent({
color: #ccc; color: #ccc;
} }
.dropdown_wrapper {
top: 2.5em;
}
@include responsive.smallScreen { @include responsive.smallScreen {
.stats-title { .stats-title {
text-align: center; text-align: center;
+2 -1
View File
@@ -250,9 +250,10 @@ h3 {
.dropdown_wrapper { .dropdown_wrapper {
max-width: 600px; max-width: 600px;
top: 2.5em;
} }
@include responsive.smallScreen{ @include responsive.smallScreen {
.no-data { .no-data {
text-align: center; text-align: center;
} }
+1 -1
View File
@@ -78,7 +78,7 @@ h1.option-title {
display: flex; display: flex;
gap: 0.5em; gap: 0.5em;
width: 100%; width: 100%;
margin-top: 0.5em; margin-top: 1em;
button { button {
width: 100%; width: 100%;
-1
View File
@@ -15,7 +15,6 @@
gap: 0.25em; gap: 0.25em;
min-width: 200px; min-width: 200px;
margin-right: 0.25em;
} }
&-input { &-input {
+1 -4
View File
@@ -116,13 +116,10 @@ export default defineComponent({
<style lang="scss" scoped> <style lang="scss" scoped>
@use '../styles/responsive'; @use '../styles/responsive';
.trains-view {
position: relative;
}
.trains_wrapper { .trains_wrapper {
margin: 1rem auto; margin: 1rem auto;
max-width: var(--max-container-width); max-width: var(--max-container-width);
position: relative;
} }
.trains_topbar { .trains_topbar {