components: Fix for large buttons
This commit is contained in:
parent
ac671fd10b
commit
39caf36b07
1 changed files with 11 additions and 11 deletions
|
@ -18,15 +18,15 @@ exports.presetOnlyList = function(vm) {
|
||||||
value: item.values[graphic.settings.main],
|
value: item.values[graphic.settings.main],
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
m('div', { class: 'small-2 columns' },
|
m('div', { class: 'small-4 columns' },
|
||||||
|
[
|
||||||
m('a.panel-graphic-preset-remove.button.success', {
|
m('a.panel-graphic-preset-remove.button.success', {
|
||||||
onclick: vm.displayPreset.bind(vm, item),
|
onclick: vm.displayPreset.bind(vm, item),
|
||||||
}, 'Display')
|
}, 'Display'),
|
||||||
),
|
|
||||||
m('div', { class: 'small-2 columns' },
|
|
||||||
m('a.panel-graphic-preset-remove.button.alert', {
|
m('a.panel-graphic-preset-remove.button.alert', {
|
||||||
onclick: vm.removePreset.bind(vm, item),
|
onclick: vm.removePreset.bind(vm, item),
|
||||||
}, 'Remove')
|
}, 'X')
|
||||||
|
]
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
@ -38,10 +38,10 @@ exports.presetButtons = function(vm) {
|
||||||
return [
|
return [
|
||||||
m('a.panel-graphic-preset-add.button', {
|
m('a.panel-graphic-preset-add.button', {
|
||||||
onclick: vm.addPreset.bind(vm),
|
onclick: vm.addPreset.bind(vm),
|
||||||
}, 'Save to preset list'),
|
}, 'Save Preset'),
|
||||||
m('a.panel-graphic-display.success.button', {
|
m('a.panel-graphic-display.success.button', {
|
||||||
onclick: vm.displayCurrent.bind(vm),
|
onclick: vm.displayCurrent.bind(vm),
|
||||||
}, 'Display'),
|
}, 'Display Live'),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue