Fix css issue
This commit is contained in:
parent
9e7e2c4458
commit
3da19f4343
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ export class UserBadge extends UIElement {
|
||||||
constructor() {
|
constructor() {
|
||||||
super(State.state.osmConnection.userDetails);
|
super(State.state.osmConnection.userDetails);
|
||||||
this._userDetails = State.state.osmConnection.userDetails;
|
this._userDetails = State.state.osmConnection.userDetails;
|
||||||
this._languagePicker = InitUiElements.CreateLanguagePicker() ?? new FixedUiElement("");
|
this._languagePicker = (InitUiElements.CreateLanguagePicker() ?? new FixedUiElement(""))
|
||||||
|
.SetStyle("display:inline-block;width:min-content;");
|
||||||
|
|
||||||
this._loginButton = Translations.t.general.loginWithOpenStreetMap
|
this._loginButton = Translations.t.general.loginWithOpenStreetMap
|
||||||
.Clone()
|
.Clone()
|
||||||
.SetClass("userbadge-login")
|
.SetClass("userbadge-login")
|
||||||
|
|
Loading…
Reference in a new issue