Improve admin mobile layouts

This commit is contained in:
Your Name
2026-07-29 12:19:07 +05:00
parent 89adc6852d
commit f312d84b16
5 changed files with 81 additions and 36 deletions
+11 -9
View File
@@ -10,15 +10,17 @@
</div>
<!-- Status Tabs -->
<div class="tabs p-1">
{% for st in status_options %}
<a class="tab {% if st.value in editorial_statuses %}tab-active{% endif %}" href="/editor?editorial_status={{ st.value }}">
{{ st.label }}
<span class="ml-2 px-1.5 py-0.5 rounded-full text-xs font-semibold {% if st.value in editorial_statuses %}bg-app-primary/20 text-app-primary{% else %}bg-app-surface text-app-textMuted{% endif %}">
{{ counts.get(st.value, 0) }}
</span>
</a>
{% endfor %}
<div class="w-full md:w-auto min-w-0 overflow-x-auto">
<div class="tabs p-1 w-max">
{% for st in status_options %}
<a class="tab {% if st.value in editorial_statuses %}tab-active{% endif %}" href="/editor?editorial_status={{ st.value }}">
{{ st.label }}
<span class="ml-2 px-1.5 py-0.5 rounded-full text-xs font-semibold {% if st.value in editorial_statuses %}bg-app-primary/20 text-app-primary{% else %}bg-app-surface text-app-textMuted{% endif %}">
{{ counts.get(st.value, 0) }}
</span>
</a>
{% endfor %}
</div>
</div>
</div>