mirror of
				https://github.com/nkanaev/yarr.git
				synced 2025-10-30 22:43:29 +00:00 
			
		
		
		
	ui tweaks
This commit is contained in:
		| @@ -8,8 +8,7 @@ | |||||||
|     <link rel="icon shortcut" href="./static/images/anchor.png"> |     <link rel="icon shortcut" href="./static/images/anchor.png"> | ||||||
| </head> | </head> | ||||||
| <body> | <body> | ||||||
| <div class="container-fluid p-0" :class="'theme-' + settings.theme" id="app" v-cloak> |     <div class="wrapper d-flex vh-100" id="app" v-cloak> | ||||||
|     <div class="wrapper d-flex vh-100 "> |  | ||||||
|         <!-- feed list --> |         <!-- feed list --> | ||||||
|         <div class="vh-100 position-relative overflow-auto border-right flex-shrink-0" :style="{width: feedListWidth+'px'}"> |         <div class="vh-100 position-relative overflow-auto border-right flex-shrink-0" :style="{width: feedListWidth+'px'}"> | ||||||
|             <drag :width="feedListWidth" @resize="resizeFeedList"></drag> |             <drag :width="feedListWidth" @resize="resizeFeedList"></drag> | ||||||
| @@ -313,7 +312,6 @@ | |||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
| </div> |  | ||||||
|     <script src="./static/javascripts/vue.min.js"></script> |     <script src="./static/javascripts/vue.min.js"></script> | ||||||
|     <script src="./static/javascripts/popper.min.js"></script> |     <script src="./static/javascripts/popper.min.js"></script> | ||||||
|     <!-- <script src="./static/javascripts/bootstrap.min.js"></script> --> |     <!-- <script src="./static/javascripts/bootstrap.min.js"></script> --> | ||||||
|   | |||||||
| @@ -223,6 +223,12 @@ var vm = new Vue({ | |||||||
|     }, |     }, | ||||||
|   }, |   }, | ||||||
|   watch: { |   watch: { | ||||||
|  |     'settings': { | ||||||
|  |       deep: true, | ||||||
|  |       handler: function(newVal) { | ||||||
|  |         document.body.classList.value = 'theme-' + newVal.theme | ||||||
|  |       }, | ||||||
|  |     }, | ||||||
|     'feedStats': { |     'feedStats': { | ||||||
|       deep: true, |       deep: true, | ||||||
|       handler: debounce(function() { |       handler: debounce(function() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user