forked from cory/tildefriends
No need to show your identity in the navigation bar if you have a name.
This commit is contained in:
parent
44d784cd04
commit
e4b6c81024
@ -170,16 +170,12 @@ class TfNavigationElement extends LitElement {
|
|||||||
style="text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 100%"
|
style="text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 100%"
|
||||||
@click=${self.toggle_id_dropdown}
|
@click=${self.toggle_id_dropdown}
|
||||||
>
|
>
|
||||||
${self.names[this.identity]}${self.names[this.identity] ===
|
${self.names[this.identity]}▾
|
||||||
this.identity
|
|
||||||
? ''
|
|
||||||
: html` - ${this.identity}`}
|
|
||||||
▾
|
|
||||||
</button>
|
</button>
|
||||||
<div
|
<div
|
||||||
id="id_dropdown"
|
id="id_dropdown"
|
||||||
class="w3-dropdown-content w3-bar-block w3-card-4"
|
class="w3-dropdown-content w3-bar-block w3-card-4"
|
||||||
style="max-width: 100%"
|
style="max-width: 100%; right: 0"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="w3-bar-item w3-button w3-border"
|
class="w3-bar-item w3-button w3-border"
|
||||||
|
Loading…
Reference in New Issue
Block a user