ui tweaks

This commit is contained in:
Nazar Kanaev 2020-07-31 21:03:52 +01:00
parent cd6d75a076
commit eaadafafb4
2 changed files with 15 additions and 11 deletions

View File

@ -8,8 +8,7 @@
<link rel="icon shortcut" href="./static/images/anchor.png">
</head>
<body>
<div class="container-fluid p-0" :class="'theme-' + settings.theme" id="app" v-cloak>
<div class="wrapper d-flex vh-100 ">
<div class="wrapper d-flex vh-100" id="app" v-cloak>
<!-- feed list -->
<div class="vh-100 position-relative overflow-auto border-right flex-shrink-0" :style="{width: feedListWidth+'px'}">
<drag :width="feedListWidth" @resize="resizeFeedList"></drag>
@ -313,7 +312,6 @@
</div>
</div>
</div>
</div>
<script src="./static/javascripts/vue.min.js"></script>
<script src="./static/javascripts/popper.min.js"></script>
<!-- <script src="./static/javascripts/bootstrap.min.js"></script> -->

View File

@ -223,6 +223,12 @@ var vm = new Vue({
},
},
watch: {
'settings': {
deep: true,
handler: function(newVal) {
document.body.classList.value = 'theme-' + newVal.theme
},
},
'feedStats': {
deep: true,
handler: debounce(function() {