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
|
* The button which is shown first. Opening it will trigger the check for deletions
|
||||||
*/
|
*/
|
||||||
const deleteButton = new SubtleButton(
|
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)
|
deleteAbility.CheckDeleteability(true)
|
||||||
confirm.setData(true);
|
confirm.setData(true);
|
||||||
|
|
|
@ -85,14 +85,14 @@ export default class MoveWizard extends Toggle {
|
||||||
const reason = reasons[0]
|
const reason = reasons[0]
|
||||||
moveReason.setData(reason)
|
moveReason.setData(reason)
|
||||||
moveButton = new SubtleButton(
|
moveButton = new SubtleButton(
|
||||||
reason.icon.SetStyle("height: 1.5rem; width: auto;"),
|
reason.icon.SetStyle("height: 1.5rem; width: 1.5rem;"),
|
||||||
Translations.WT(reason.invitingText)
|
Translations.WT(reason.invitingText)
|
||||||
).onClick(() => {
|
).onClick(() => {
|
||||||
currentStep.setData("pick_location")
|
currentStep.setData("pick_location")
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
moveButton = new SubtleButton(
|
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
|
t.inviteToMove.generic
|
||||||
).onClick(() => {
|
).onClick(() => {
|
||||||
currentStep.setData("reason")
|
currentStep.setData("reason")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue