From 3a03a5fa6b3a4d1458a09594b328e5b5793fa505 Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Mon, 4 Dec 2023 09:44:57 +0100 Subject: [PATCH] flexDirection --- src/tabs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs.ts b/src/tabs.ts index fd2d62b2..034ac529 100644 --- a/src/tabs.ts +++ b/src/tabs.ts @@ -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)