Update layout

This commit is contained in:
2020-09-19 20:49:56 +03:00
parent b2d4627650
commit d5068fb6fc
3 changed files with 21 additions and 10 deletions

View File

@@ -122,6 +122,7 @@ export default class App extends Vue {
@Watch('leftPanelClosed')
onLeftPanelClosedChange(val: boolean, oldValue: boolean) {
this.changeLeftPanelStatus(val);
}
}
@@ -144,10 +145,15 @@ body, #app {
background-color: white!important;
}
.close-btn {
z-index: 2;
}
.vertical-panel {
position: absolute;
height: 0px;
width: 0px;
z-index: 1;
}
.content-body {
@@ -172,7 +178,7 @@ body, #app {
}
.close-btn-when-left-panel-open {
background-color: black!important;
background-color: transparent!important;
transition: background-color linear .3s;
}
@@ -202,7 +208,6 @@ body, #app {
width: 58px;
height: 100%;
background: white!important;
z-index: 1;
}
.close-btn-label-when-left-panel-open {

View File

@@ -1,12 +1,12 @@
<template>
<transition appear name="fade">
<div class="photo-wrapper"
:style="photoWrapperStyle"
ref="element"
@click="onClick">
<div class="photo" :style="photoStyle"></div>
</div>
</transition>
<div class="photo-wrapper"
:style="photoWrapperStyle"
ref="element"
@click="onClick">
<transition appear name="fade">
<div class="photo" :style="photoStyle"></div>
</transition>
</div>
</template>
<script lang="ts">

View File

@@ -3,3 +3,9 @@
<h1>This is an about page</h1>
</div>
</template>
<style scoped>
.about {
background-color: white;
}
</style>