From d9f888a0889f10170231ccf0ff1ca23219aa7239 Mon Sep 17 00:00:00 2001 From: Dennis Prazak Date: Sun, 23 Oct 2022 17:45:02 +0200 Subject: [PATCH] Add className from the model to Tab --- src/view/Tab.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/Tab.tsx b/src/view/Tab.tsx index 190fb75a..163a19ca 100755 --- a/src/view/Tab.tsx +++ b/src/view/Tab.tsx @@ -62,6 +62,7 @@ export const Tab = (props: ITabProps) => { } let className = cm(CLASSES.FLEXLAYOUT__TAB); + if (node.getClassName()) className += " " + node.getClassName() if (parentNode instanceof BorderNode) { className += " " + cm(CLASSES.FLEXLAYOUT__TAB_BORDER); className += " " + cm(CLASSES.FLEXLAYOUT__TAB_BORDER_ + parentNode.getLocation().getName());