Skip to content

Commit 62eaa09

Browse files
set button style object values
Co-authored-by: Copilot <[email protected]>
1 parent ca2973d commit 62eaa09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/demo/js/options/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const config = {
1010
addColumnBtn.type = 'button'
1111
addColumnBtn.className = 'btn btn-sm btn-secondary'
1212
addColumnBtn.textContent = 'Add Column'
13-
addColumnBtn.style = 'border:1px solid #ccc; width: auto;'
13+
addColumnBtn.style.border = '1px solid #ccc'
14+
addColumnBtn.style.width = 'auto'
1415
addColumnBtn.addEventListener('click', () => {
1516
evt.target.addChild()
1617
})

0 commit comments

Comments
 (0)