mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: expanded containers width in views, adjusted dropdowns
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -83,9 +83,6 @@ export default defineComponent({
|
||||
|
||||
.train-table {
|
||||
position: relative;
|
||||
|
||||
height: 90vh;
|
||||
min-height: 550px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user