Poprawki stylistyczne widoku historii dyżurnych

This commit is contained in:
2022-01-10 19:00:17 +01:00
parent 69c32294f6
commit 02db9f5e21
2 changed files with 2 additions and 7 deletions
@@ -155,10 +155,11 @@ export default defineComponent({
.scenery-history { .scenery-history {
height: 600px; height: 600px;
overflow-y: hidden; overflow-y: hidden;
padding-top: 1em;
} }
ul { ul {
margin-top: 2em;
height: 600px; height: 600px;
overflow-y: scroll; overflow-y: scroll;
} }
-6
View File
@@ -67,8 +67,6 @@ export default defineComponent({
back: require('@/assets/icon-back.svg'), back: require('@/assets/icon-back.svg'),
}, },
cardHeight: 0,
viewMode: 'info', viewMode: 'info',
}), }),
@@ -108,10 +106,6 @@ export default defineComponent({
}, },
}, },
mounted() {
this.cardHeight = (this.$refs['card-wrapper'] as HTMLElement).getBoundingClientRect().height;
},
activated() { activated() {
if (this.currentRegion.id != 'eu' && this.viewMode == 'history') this.viewMode = 'info'; if (this.currentRegion.id != 'eu' && this.viewMode == 'history') this.viewMode = 'info';
}, },