forked from AkkomaGang/akkoma-fe
CSS fixes.
This commit is contained in:
parent
6e608dd2dd
commit
187c4a7d57
4 changed files with 13 additions and 20 deletions
|
@ -63,7 +63,7 @@ nav {
|
|||
|
||||
}
|
||||
|
||||
sidebar {
|
||||
.sidebar {
|
||||
flex: 1;
|
||||
flex-basis: 300px;
|
||||
}
|
||||
|
@ -255,3 +255,8 @@ nav {
|
|||
.fade-enter, .fade-leave-active {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 2;
|
||||
flex-basis: 500px;
|
||||
}
|
||||
|
|
12
src/App.vue
12
src/App.vue
|
@ -6,14 +6,16 @@
|
|||
</div>
|
||||
</nav>
|
||||
<div class="container" id="content">
|
||||
<sidebar>
|
||||
<div class="sidebar">
|
||||
<user-panel></user-panel>
|
||||
<nav-panel></nav-panel>
|
||||
<notifications v-if="currentUser"></notifications>
|
||||
</sidebar>
|
||||
<transition name="fade">
|
||||
<router-view></router-view>
|
||||
</transition>
|
||||
</div>
|
||||
<div class="main">
|
||||
<transition name="fade">
|
||||
<router-view></router-view>
|
||||
</transition>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -18,10 +18,3 @@
|
|||
</div>
|
||||
</template>
|
||||
<script src="./timeline.js"></script>
|
||||
|
||||
<style>
|
||||
.timeline.panel {
|
||||
flex: 2;
|
||||
flex-basis: 500px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -5,10 +5,3 @@
|
|||
</template>
|
||||
|
||||
<script src="./user_profile.js"></script>
|
||||
|
||||
<style>
|
||||
.user-profile {
|
||||
flex: 2;
|
||||
flex-basis: 500px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue