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;
max-height: calc(100% - 4.5em);
top: 3.5em;
padding: 1em 0;
}
.options_content {
overflow: auto;
padding: 0 1em;
}
.options_actions {
padding: 0 1em;
}
</style>
@@ -69,5 +69,6 @@ function navigateToProfile() {
left: auto;
right: 0;
max-width: 700px;
top: 3.5em;
}
</style>
@@ -278,6 +278,10 @@ export default defineComponent({
color: #ccc;
}
.dropdown_wrapper {
top: 2.5em;
}
@include responsive.smallScreen {
.stats-title {
text-align: center;
+2 -1
View File
@@ -250,9 +250,10 @@ h3 {
.dropdown_wrapper {
max-width: 600px;
top: 2.5em;
}
@include responsive.smallScreen{
@include responsive.smallScreen {
.no-data {
text-align: center;
}
+1 -1
View File
@@ -78,7 +78,7 @@ h1.option-title {
display: flex;
gap: 0.5em;
width: 100%;
margin-top: 0.5em;
margin-top: 1em;
button {
width: 100%;
+1 -2
View File
@@ -15,7 +15,6 @@
gap: 0.25em;
min-width: 200px;
margin-right: 0.25em;
}
&-input {
@@ -61,4 +60,4 @@
top: 50%;
transform: translateY(-50%);
padding-right: 0.5em;
}
}
+1 -4
View File
@@ -116,13 +116,10 @@ export default defineComponent({
<style lang="scss" scoped>
@use '../styles/responsive';
.trains-view {
position: relative;
}
.trains_wrapper {
margin: 1rem auto;
max-width: var(--max-container-width);
position: relative;
}
.trains_topbar {