From 6467e2606e0d632063254402fe7002249615f776 Mon Sep 17 00:00:00 2001 From: lukas Date: Tue, 9 Dec 2025 07:23:00 +0100 Subject: [PATCH] fix: inline tabs condition --- src/unfold/templates/unfold/helpers/tab_list.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/unfold/templates/unfold/helpers/tab_list.html b/src/unfold/templates/unfold/helpers/tab_list.html index 21b1045a..3ef3768f 100644 --- a/src/unfold/templates/unfold/helpers/tab_list.html +++ b/src/unfold/templates/unfold/helpers/tab_list.html @@ -1,6 +1,9 @@ {% load i18n %} -{% if not is_popup and tabs_list%} -
- {% include "unfold/helpers/tab_items.html" %} -
+ +{% if not is_popup %} + {% if tabs_list or inlines_list %} +
+ {% include "unfold/helpers/tab_items.html" %} +
+ {% endif %} {% endif %}