Styling of move, delete and split-road buttons

This commit is contained in:
Pieter Vander Vennet 2021-10-14 17:38:00 +02:00
parent c2f610df86
commit ff81dab04b
3 changed files with 7 additions and 6 deletions

View file

@ -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)