Improve admin mobile layouts
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user