components: Fix for large buttons

This commit is contained in:
Jonatan Nilsson 2016-07-28 18:41:43 +00:00
parent ac671fd10b
commit 39caf36b07

View file

@ -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'),
] ]
} }