Skip to content

Commit 24430f6

Browse files
authored
IBX-8928: Tab with [...] is visible while loading the product details. (#1448)
1 parent d431bc9 commit 24430f6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/bundle/Resources/public/js/scripts/admin.location.adaptive.tabs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272

7373
popupMenu.toggleItems((popupMenuItem) => !hiddenTabsLinksIds.includes(popupMenuItem.dataset.tabLinkId));
7474
popupMenu.updatePosition();
75+
76+
if (hiddenTabsWithoutSelector.size > 0) {
77+
tabMore.classList.add('ibexa-tabs__tab--more-visible');
78+
}
7579
},
7680
});
7781

src/bundle/Resources/public/scss/_tabs.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,11 @@
348348

349349
&--more {
350350
cursor: pointer;
351+
visibility: hidden;
352+
}
353+
354+
&--more-visible {
355+
visibility: visible;
351356
}
352357
}
353358

0 commit comments

Comments
 (0)