Skip to content

Commit

Permalink
sidebar logo adjsut
Browse files Browse the repository at this point in the history
  • Loading branch information
yaghoubi committed Dec 15, 2024
1 parent 94b38dd commit d7f309a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion django_daisy/static/admin/css/base_tailwind.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion django_daisy/templates/admin/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
</div>

{% block submit_buttons_bottom %}
<div class="w-full z-40 sticky max-lg:fixed max-lg:-mx-3 bottom-0 ">
<div class="w-full z-40 border-t border-base-300 sticky max-lg:fixed max-lg:-mx-3 bottom-0 ">
{% submit_row %}
</div>
{% endblock %}
Expand Down
4 changes: 2 additions & 2 deletions django_daisy/templates/admin/parts/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load i18n %}
<div id="sidebar" class="sidebar bg-base-100 border-base-200 border-r w-56 hidden xl:block lg:block">
<div id="sidebar" class="sidebar bg-base-100 border-base-200 border-e w-56 hidden xl:block lg:block">
<!-- Sidebar header with logo -->
<a class="flex h-16 items-center justify-center" href="{% url 'admin:index' %}">
<a class="flex h-16 items-center p-2" href="{% url 'admin:index' %}">
<div class="inline">
<img loading="lazy" width="50" height="24" class="inline" src="{{ logo }}">
</div>
Expand Down
4 changes: 2 additions & 2 deletions django_daisy/templates/admin/submit_line.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</button>
</div>
{% else %}
<div class="p-3 card bordered bg-base-100 justify-between flex flex-row-reverse mt-3 gap-15 sticky top-3 max-md:hidden">
<div class="p-3 bg-base-100 justify-between flex flex-row-reverse gap-15 sticky top-3 max-md:hidden">
<div class="text-start flex gap-2">
{% if show_save_as_new %}
<input type="submit" value="{% translate 'Save as new' %}" name="_saveasnew">
Expand Down Expand Up @@ -60,7 +60,7 @@
</div>
{% endif %}

<div class="p-3 card bg-base-100 grid grid-cols-2 mt-3 md:hidden gap-3 md:visible border !shadow-lg">
<div class="p-3 card bg-base-100 grid grid-cols-2 md:hidden gap-3 md:visible border !shadow-lg">
{% if is_popup %}
<button onclick="window.parent.close_modal()" type="button" class="btn-sm px-4 btn rounded-md legitRipple">
{% translate 'Close' %}
Expand Down

0 comments on commit d7f309a

Please sign in to comment.