make utility buttons also useable for links

This commit is contained in:
Bruno Windels 2020-10-14 10:34:11 +02:00
parent 7e477b3c8d
commit 692fa808e4
2 changed files with 3 additions and 3 deletions

View file

@ -134,11 +134,11 @@ a.button-action {
border-radius: 100%;
}
button.utility.grid {
.button-utility.grid {
background-image: url('icons/enable-grid.svg');
}
button.utility.grid.on {
.button-utility.grid.on {
background-image: url('icons/disable-grid.svg');
}

View file

@ -68,7 +68,7 @@ export class LeftPanelView extends TemplateView {
t.button({
onClick: () => vm.toggleGrid(),
className: {
utility: true,
"button-utility": true,
grid: true,
on: vm => vm.gridEnabled
},