Fix css issue

This commit is contained in:
Pieter Vander Vennet 2020-09-21 23:35:15 +02:00
parent 9e7e2c4458
commit 3da19f4343

View file

@ -23,7 +23,9 @@ export class UserBadge extends UIElement {
constructor() {
super(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
.Clone()
.SetClass("userbadge-login")