forked from MapComplete/MapComplete
Styling tweaks to fix buttons on webkit browsers
This commit is contained in:
parent
99a38f2b10
commit
65f5b130a8
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue