chore(client): tweak deck
This commit is contained in:
		
							parent
							
								
									135dfa8026
								
							
						
					
					
						commit
						ccea04f391
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -49,6 +49,7 @@ export default { | ||||||
| 				showing, | 				showing, | ||||||
| 				text: self.text, | 				text: self.text, | ||||||
| 				asMfm: binding.modifiers.mfm, | 				asMfm: binding.modifiers.mfm, | ||||||
|  | 				direction: binding.modifiers.left ? 'left' : binding.modifiers.right ? 'right' : binding.modifiers.top ? 'top' : binding.modifiers.bottom ? 'bottom' : 'top', | ||||||
| 				targetElement: el, | 				targetElement: el, | ||||||
| 			}, {}, 'closed'); | 			}, {}, 'closed'); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -33,7 +33,8 @@ | ||||||
| 				<div>{{ i18n.ts._deck.introduction2 }}</div> | 				<div>{{ i18n.ts._deck.introduction2 }}</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="sideMenu"> | 			<div class="sideMenu"> | ||||||
| 				<button v-tooltip="i18n.ts._deck.addColumn" class="_button button" @click="addColumn"><i class="fas fa-plus"></i></button> | 				<button v-tooltip.left="i18n.ts._deck.addColumn" class="_button button" @click="addColumn"><i class="fas fa-plus"></i></button> | ||||||
|  | 				<button v-tooltip.left="i18n.ts.settings" class="_button button settings" @click="showSettings"><i class="fas fa-cog"></i></button> | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 	</div> | 	</div> | ||||||
|  | @ -110,6 +111,10 @@ const menuIndicated = computed(() => { | ||||||
| 	return false; | 	return false; | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
|  | function showSettings() { | ||||||
|  | 	os.pageWindow('/settings/deck'); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| let columnsEl = $ref<HTMLElement>(); | let columnsEl = $ref<HTMLElement>(); | ||||||
| 
 | 
 | ||||||
| const addColumn = async (ev) => { | const addColumn = async (ev) => { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue