From 65f5b130a819467a6bc82460d3b39e7a9df18384 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 21 Dec 2021 21:36:03 +0100 Subject: [PATCH] Styling tweaks to fix buttons on webkit browsers --- UI/Popup/DeleteWizard.ts | 2 +- UI/Popup/MoveWizard.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UI/Popup/DeleteWizard.ts b/UI/Popup/DeleteWizard.ts index b0981f78bc..5b66956f2a 100644 --- a/UI/Popup/DeleteWizard.ts +++ b/UI/Popup/DeleteWizard.ts @@ -93,7 +93,7 @@ export default class DeleteWizard extends Toggle { * The button which is shown first. Opening it will trigger the check for deletions */ const deleteButton = new SubtleButton( - Svg.delete_icon_ui().SetStyle("width: auto; height: 1.5rem;"), t.delete.Clone()).onClick( + Svg.delete_icon_svg().SetStyle("width: 1.5rem; height: 1.5rem;"), t.delete.Clone()).onClick( () => { deleteAbility.CheckDeleteability(true) confirm.setData(true); diff --git a/UI/Popup/MoveWizard.ts b/UI/Popup/MoveWizard.ts index 212494023d..8bb889ece3 100644 --- a/UI/Popup/MoveWizard.ts +++ b/UI/Popup/MoveWizard.ts @@ -85,14 +85,14 @@ export default class MoveWizard extends Toggle { const reason = reasons[0] moveReason.setData(reason) moveButton = new SubtleButton( - reason.icon.SetStyle("height: 1.5rem; width: auto;"), + reason.icon.SetStyle("height: 1.5rem; width: 1.5rem;"), Translations.WT(reason.invitingText) ).onClick(() => { currentStep.setData("pick_location") }) } else { moveButton = new SubtleButton( - Svg.move_ui().SetStyle("height: 1.5rem; width: auto"), + Svg.move_ui().SetStyle("width: 1.5rem; height: 1.5rem"), t.inviteToMove.generic ).onClick(() => { currentStep.setData("reason")