Poprawki kompatybilności

This commit is contained in:
2022-07-21 15:11:57 +02:00
parent e5e755fa19
commit 459c23df17
7 changed files with 117 additions and 36 deletions
+35 -11
View File
@@ -1,12 +1,13 @@
<template>
<div class="order">
<transition name="order-anim" mode="out-in">
<keep-alive>
<component :is="chosenOrderComponent" :key="chosenOrderComponent.name"></component>
</keep-alive>
</transition>
<OrderFooter />
<div class="order_content">
<transition name="order-anim" mode="out-in">
<keep-alive>
<component :is="chosenOrderComponent" :key="chosenOrderComponent.name"></component>
</keep-alive>
</transition>
<OrderFooter />
</div>
</div>
</template>
@@ -49,15 +50,34 @@ export default defineComponent({
<style lang="scss">
@import '../styles/global.scss';
// Order scrollbar
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #fff;
}
::-webkit-scrollbar-thumb {
background: #ccc;
}
::-webkit-scrollbar-thumb:hover {
background: #aaa;
}
.order {
max-width: 500px;
max-width: 550px;
background-color: white;
color: black;
padding: 0.5em;
box-shadow: 0 0 15px 2px white;
max-height: 95vh;
overflow-y: auto;
font-family: initial;
font-size: 15px;
box-shadow: 0 0 15px 2px white;
h2 {
margin: 0;
@@ -75,6 +95,10 @@ export default defineComponent({
}
}
.order_content {
padding: 0.5em;
}
.flex-row {
display: flex;
justify-content: space-between;