aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/tubo/layout/views.cljs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend/tubo/layout/views.cljs b/src/frontend/tubo/layout/views.cljs
index c19b4fd..f6b4256 100644
--- a/src/frontend/tubo/layout/views.cljs
+++ b/src/frontend/tubo/layout/views.cljs
@@ -295,7 +295,9 @@
(reset! !current tab)
(on-change (:id @!current))))}
(:left-icon tab)
- [:span.hidden.xs:block
+ [:span
+ {:class (when (or (:left-icon tab) (:right-icon tab))
+ ["hidden" "xs:block"])}
(if (:label-fn tab)
((:label-fn tab) (:label tab))
(:label tab))]