From 3da19f43437d3dce49eceb7ff3a1c5965ad95f85 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 21 Sep 2020 23:35:15 +0200 Subject: [PATCH] Fix css issue --- UI/UserBadge.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/UserBadge.ts b/UI/UserBadge.ts index f06e836..db91c58 100644 --- a/UI/UserBadge.ts +++ b/UI/UserBadge.ts @@ -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")