Compare commits

...

1 Commits

View File

@ -340,6 +340,13 @@ class TfElement extends LitElement {
}; };
let tabs = html` let tabs = html`
<style>
@media only screen and (max-width: 650px) {
.hide-on-small-screens {
display: none;
}
}
</style>
<div class="w3-bar w3-theme-l1"> <div class="w3-bar w3-theme-l1">
${Object.entries(k_tabs).map( ${Object.entries(k_tabs).map(
([k, v]) => html` ([k, v]) => html`
@ -352,6 +359,7 @@ class TfElement extends LitElement {
@click=${() => self.set_tab(v)} @click=${() => self.set_tab(v)}
> >
${k} ${k}
<span class="hide-on-small-screens">${v}</span>
</button> </button>
` `
)} )}