From e75621fb393bed4712879d9cf4ce7bce1ac3e544 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 23 Aug 2022 13:49:20 +0200 Subject: [PATCH] Set default placement for tabs in mobile template --- api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts b/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts index 61bfdf04b6..f6f3b2c1a5 100644 --- a/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts +++ b/api/js/etemplate/Layout/Et2Tabs/Et2Tabs.ts @@ -104,6 +104,10 @@ export class Et2Tabs extends Et2InputWidget(SlTabGroup) implements et2_IResizeab this.extraTabs = []; this.addTabs = false; + if (egwIsMobile()) + { + this.placement = 'end'; + } } get value()