Skip to content

Commit

Permalink
fix: responsive default dashboard on mobile (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Feb 3, 2024
1 parent e5efa2c commit a313df6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/unfold/templates/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h1 id="site-name">
{% endblock %}

{% block content %}
<div class="flex flex-row -mx-4">
<div class="flex-grow px-4">
<div class="flex flex-col gap-8 lg:flex-row">
<div class="flex-grow">
{% include "unfold/helpers/app_list_default.html" %}
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/unfold/templates/unfold/helpers/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% get_admin_log 10 as admin_log for_user user %}

{% if admin_log %}
<div id="content-related" class="px-4 w-4/12">
<div id="content-related" class="lg:w-4/12">
<div class="module" id="recent-actions-module">
<h2 class="mb-4 font-semibold text-gray-700 text-sm dark:text-gray-200">
{% translate 'Recent actions' %}
Expand Down

0 comments on commit a313df6

Please sign in to comment.