Show tab names on large enough screens. Inspired by tasio's #61.
This commit is contained in:
		| @@ -345,13 +345,14 @@ class TfElement extends LitElement { | ||||
| 					([k, v]) => html` | ||||
| 						<button | ||||
| 							title=${v} | ||||
| 							class="w3-bar-item w3-padding-large w3-hover-theme tab ${self.tab == | ||||
| 							class="w3-bar-item w3-padding w3-hover-theme tab ${self.tab == | ||||
| 							v | ||||
| 								? 'w3-theme-l2' | ||||
| 								: 'w3-theme-l1'}" | ||||
| 							@click=${() => self.set_tab(v)} | ||||
| 						> | ||||
| 							${k} | ||||
| 							<span class=${self.tab == v ? '' : 'w3-hide-small'}>${v.charAt(0).toUpperCase() + v.substring(1)}</span> | ||||
| 						</button> | ||||
| 					` | ||||
| 				)} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user