Skip to content

Commit

Permalink
Fix cancel button color
Browse files Browse the repository at this point in the history
  • Loading branch information
lunars97 committed Nov 29, 2024
1 parent f9f7ce2 commit 4b9b6fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3>
<div class="flex justify-between mt-4">
<button type="button"
id="btn-close-machine-translation-overlay"
class="btn !bg-red-500">
class="btn btn-ghost">
{% translate "Cancel" %}
</button>
<button id="machine-translation-overlay-bulk-action-execute"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h3 id="confirmation-subject" class="text-center mt-4 mb-6 break-words">
<form method="post" action="#">
{% csrf_token %}
<div class="flex justify-end gap-2">
<button id="close-confirmation-popup" class="btn btn-outline">
<button id="close-confirmation-popup" class="btn btn-ghost">
{% translate "Cancel" %}
</button>
<button class="btn">
Expand Down
2 changes: 1 addition & 1 deletion integreat_cms/cms/templates/linkcheck/link_list_row.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<div class="flex gap-2 p-2">
{% render_field edit_url_form.url|add_error_class:"border-red-500" type="url" form="edit-url-form" %}
<a href="{% url_for_current_region 'linkcheck' request url_filter=view.kwargs.url_filter %}{{ pagination_params }}"
class="btn btn-red">{% translate "Cancel" %}</a>
class="btn btn-ghost">{% translate "Cancel" %}</a>
<button type="submit" form="edit-url-form" class="btn">
{% translate "Save" %}
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@
<i icon-name="check" class="h-5"></i>
{% translate "Confirm" %}
</button>
<button id="discard_map_input" type="button" class="btn btn-red w-full mt-2">
<button id="discard_map_input"
type="button"
class="btn btn-ghost w-full mt-2">
<i icon-name="x" class="h-5"></i>
{% translate "Cancel" %}
</button>
Expand Down

0 comments on commit 4b9b6fc

Please sign in to comment.