From 45d422f6582ac2ebf455a8c8168738db54a76582 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 14 Aug 2026 00:30:45 +0200 Subject: Consolidate .action_button styling from visual nudging Let containers space their own action buttons: Remove a superfluous margin-bottom from .action_button, their containers already properly arranged them. Align action rows on the text baseline: .aligned_action_row aligns its children on the baseline, so a control sits level with the text beside it without a per-element offset. --- app/views/nodes/chapters.html.erb | 2 +- app/views/nodes/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views') diff --git a/app/views/nodes/chapters.html.erb b/app/views/nodes/chapters.html.erb index def56659..bbaf0b8a 100644 --- a/app/views/nodes/chapters.html.erb +++ b/app/views/nodes/chapters.html.erb @@ -1,6 +1,6 @@

<%= t(".title") %>

-<%= form_tag chapters_nodes_path, method: :get, class: "node_search_form" do %> +<%= form_tag chapters_nodes_path, method: :get, class: "search_form" do %> <%= button_tag type: "submit", class: "action_button" do %> diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index c9558ed0..af55d699 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb @@ -122,7 +122,7 @@
<%= hidden_field_tag :parent_id, suggestion&.id %> - <%= submit_tag t(".restore_here"), :class => "action_button action_button_no_margin_top" %> + <%= submit_tag t(".restore_here"), :class => "action_button action_button" %> <% end %> <%= t(".restore_hint") %> -- cgit v1.3