Skip to content

Commit 8a35767

Browse files
authored
fix: save as new (#668)
1 parent a5b14fc commit 8a35767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unfold/templates/admin/submit_line.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{% endif %}
4343

4444
{% if show_save_as_new %}
45-
<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">
45+
<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">
4646
{% translate 'Save as new' %}
4747
</button>
4848
{% endif %}

0 commit comments

Comments
 (0)