Skip to content

Commit 1c94bcb

Browse files
authored
fix: inline tabs display condition (#1724)
1 parent 377c4dc commit 1c94bcb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{% load i18n %}
2-
{% if not is_popup and tabs_list%}
3-
<div id="tabs-wrapper" class="flex items-start flex-col mb-4 md:flex-row md:items-center">
4-
{% include "unfold/helpers/tab_items.html" %}
5-
</div>
2+
3+
{% if not is_popup %}
4+
{% if tabs_list or inlines_list %}
5+
<div id="tabs-wrapper" class="flex items-start flex-col mb-4 md:flex-row md:items-center">
6+
{% include "unfold/helpers/tab_items.html" %}
7+
</div>
8+
{% endif %}
69
{% endif %}

0 commit comments

Comments
 (0)