forked from MapComplete/MapComplete
Styling of move, delete and split-road buttons
This commit is contained in:
parent
c2f610df86
commit
ff81dab04b
3 changed files with 7 additions and 6 deletions
|
@ -93,12 +93,12 @@ 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: 2rem; height: 2rem;"), t.delete.Clone()).onClick(
|
||||
Svg.delete_icon_ui().SetStyle("width: auto; height: 1.5rem;"), t.delete.Clone()).onClick(
|
||||
() => {
|
||||
deleteAbility.CheckDeleteability(true)
|
||||
confirm.setData(true);
|
||||
}
|
||||
).SetClass("w-1/2 float-right");
|
||||
)
|
||||
|
||||
const isShown = new UIEventSource<boolean>(id.indexOf("-") < 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue