chore: expanded containers width in views, adjusted dropdowns

This commit is contained in:
2024-08-24 16:16:32 +02:00
parent c244275aee
commit b04797052f
6 changed files with 14 additions and 11 deletions
+10 -3
View File
@@ -30,7 +30,11 @@
</div>
<transition name="dropdown-anim">
<div class="dropdown_wrapper" v-if="currentStatsTab !== null">
<div
class="dropdown_wrapper"
:class="{ 'dropdown-align-right': true }"
v-if="currentStatsTab !== null"
>
<keep-alive>
<component :is="currentStatsTab" :key="currentStatsTab"></component>
</keep-alive>
@@ -79,7 +83,10 @@ export default defineComponent({
@import '../../styles/dropdown_filters.scss';
@import '../../styles/variables.scss';
.dropdown_wrapper {
max-width: 100%;
.dropdown_wrapper.dropdown-align-right {
left: auto;
right: 0;
max-width: 700px;
// max-width: 100%;
}
</style>
-3
View File
@@ -83,9 +83,6 @@ export default defineComponent({
.train-table {
position: relative;
height: 90vh;
min-height: 550px;
overflow-y: auto;
overflow-x: hidden;
}
+1 -1
View File
@@ -20,7 +20,7 @@
}
.journal_wrapper {
max-width: 1500px;
max-width: var(--max-container-width);
width: 100%;
margin: 0 auto;
+1 -2
View File
@@ -8,7 +8,6 @@
z-index: 99;
transform: translateY(1em);
width: 100%;
background-color: #1a1a1a;
@@ -30,7 +29,7 @@ hr.section-separator {
.info-stats {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5em;
}
+1 -1
View File
@@ -21,7 +21,7 @@
--clr-donator: #f7a4ff;
--no-scroll-padding: 17px;
--max-container-width: 1700px;
--max-container-width: 2000px;
font-size: 16px;
}
+1 -1
View File
@@ -123,7 +123,7 @@ export default defineComponent({
.trains_wrapper {
margin: 1rem auto;
max-width: 1500px;
max-width: var(--max-container-width);
}
.trains_topbar {