Skip to content

Commit

Permalink
flexDirection
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Dec 4, 2023
1 parent 82c69f6 commit 3a03a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function tabWidget (options: TabWidgetOptions) {
const rootElement: TabWidgetElement = dom.createElement('div') // 20200117a

rootElement.setAttribute('style', style.tabsRootElement)
rootElement.style.flexDirection = (vertical ? 'row' : 'column') + (flipped ? '-reverse;' : ';')
rootElement.style.flexDirection = (vertical ? 'row' : 'column') + (flipped ? '-reverse' : '')

const navElement = rootElement.appendChild(dom.createElement('nav'))
navElement.setAttribute('style', style.tabsNavElement)
Expand Down

0 comments on commit 3a03a5f

Please sign in to comment.