forked from mystiq/hydrogen-web
make utility buttons also useable for links
This commit is contained in:
parent
7e477b3c8d
commit
692fa808e4
2 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue