From 01231f285ad1f6586d37a1793f9416bfc331b316 Mon Sep 17 00:00:00 2001
From: luciajanikova <19lucia99@gmail.com>
Date: Fri, 6 Dec 2024 08:33:24 +0100
Subject: [PATCH] Fix some admin buttons with added border
---
app/components/settings/rules/actions_form_component.html.erb | 2 +-
.../settings/rules/conditions_form_component.html.erb | 2 +-
app/components/settings/rules/rule_form_component.html.erb | 2 +-
app/views/admin/automation_webhooks/_form.html.erb | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/components/settings/rules/actions_form_component.html.erb b/app/components/settings/rules/actions_form_component.html.erb
index 56a582a56..7df3864db 100644
--- a/app/components/settings/rules/actions_form_component.html.erb
+++ b/app/components/settings/rules/actions_form_component.html.erb
@@ -39,7 +39,7 @@
<% end %>
<%= rule_form.button "Späť", formaction: conditions_step_settings_automation_rule_path, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md border border-gray-300 text-base font-medium text-left text-gray-900 bg-white" %>
- <%= rule_form.button "Uložiť zmeny", class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md text-base font-medium text-left text-white bg-blue-600", data: { turbo_frame: "_top" } %>
+ <%= rule_form.button "Uložiť zmeny", class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md border text-base font-medium text-left text-white bg-blue-600", data: { turbo_frame: "_top" } %>
<% end %>
diff --git a/app/components/settings/rules/conditions_form_component.html.erb b/app/components/settings/rules/conditions_form_component.html.erb
index b0a023d22..224f3eeaa 100644
--- a/app/components/settings/rules/conditions_form_component.html.erb
+++ b/app/components/settings/rules/conditions_form_component.html.erb
@@ -39,7 +39,7 @@
<% end %>
<%= rule_form.button "Späť", formaction: header_step_settings_automation_rule_path, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md border border-gray-300 text-base font-medium text-left text-gray-900 bg-white" %>
- <%= rule_form.button "Pokračovať", formaction: actions_step_settings_automation_rule_path, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md text-base font-medium text-left text-white bg-blue-600" %>
+ <%= rule_form.button "Pokračovať", formaction: actions_step_settings_automation_rule_path, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md border text-base font-medium text-left text-white bg-blue-600" %>
<% end %>
diff --git a/app/components/settings/rules/rule_form_component.html.erb b/app/components/settings/rules/rule_form_component.html.erb
index efa7ab240..ec1765820 100644
--- a/app/components/settings/rules/rule_form_component.html.erb
+++ b/app/components/settings/rules/rule_form_component.html.erb
@@ -32,7 +32,7 @@
<%= link_to settings_automation_rules_path, data: { turbo_frame: "_top" }, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md bg-white border border-gray-300" do %>
Zahodiť zmeny
<% end %>
- <%= rule_form.button "Pokračovať", formaction: conditions_step_settings_automation_rule_path, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md text-base font-medium text-left text-white bg-blue-600" %>
+ <%= rule_form.button "Pokračovať", formaction: conditions_step_settings_automation_rule_path, class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md text-base font-medium text-left text-white bg-blue-600 border" %>
<% end %>
diff --git a/app/views/admin/automation_webhooks/_form.html.erb b/app/views/admin/automation_webhooks/_form.html.erb
index 8177e179e..422509661 100644
--- a/app/views/admin/automation_webhooks/_form.html.erb
+++ b/app/views/admin/automation_webhooks/_form.html.erb
@@ -35,7 +35,7 @@
<%= link_to admin_tenant_automation_webhooks_path(Current.tenant), class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md bg-white border border-gray-300", data: { turbo_frame: "_top" } do %>
Zahodiť
<% end %>
- <%= form.button class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md bg-blue-600", data: { turbo_frame: "_top" } do %>
+ <%= form.button class: "flex justify-center items-center flex-grow relative overflow-hidden gap-2.5 px-3.5 py-2.5 rounded-md bg-blue-600 border", data: { turbo_frame: "_top" } do %>
<%= @webhook.new_record? ? 'Vytvoriť' : 'Uložiť' %>
<% end %>