Skip to content

Commit

Permalink
fix: save as new (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav authored Aug 9, 2024
1 parent a5b14fc commit 8a35767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unfold/templates/admin/submit_line.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{% endif %}

{% if show_save_as_new %}
<button type="submit" name="_saveasnew" class="border font-medium px-3 py-2 rounded-md transition-all w-full hover:bg-gray-50 dark:border-gray-700 dark:hover:text-gray-200 dark:hover:bg-gray-900">
<button type="submit" name="_saveasnew" class="border font-medium hidden px-3 py-2 rounded-md transition-all w-full hover:bg-gray-50 lg:block lg:w-auto dark:border-gray-700 dark:hover:text-gray-200 dark:hover:bg-gray-900">
{% translate 'Save as new' %}
</button>
{% endif %}
Expand Down

0 comments on commit 8a35767

Please sign in to comment.