diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-14 00:30:45 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-14 00:30:45 +0200 |
| commit | 45d422f6582ac2ebf455a8c8168738db54a76582 (patch) | |
| tree | cd42362026c42ea5d346aaae7054d2e2a0f644e9 /app/views/nodes/show.html.erb | |
| parent | 73b958e809e01517598727ec49cce7712bf685c5 (diff) | |
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.
Diffstat (limited to 'app/views/nodes/show.html.erb')
| -rw-r--r-- | app/views/nodes/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 122 | <div id="restore_search_results" class="search_results"></div> | 122 | <div id="restore_search_results" class="search_results"></div> |
| 123 | </div> | 123 | </div> |
| 124 | <%= hidden_field_tag :parent_id, suggestion&.id %> | 124 | <%= hidden_field_tag :parent_id, suggestion&.id %> |
| 125 | <%= submit_tag t(".restore_here"), :class => "action_button action_button_no_margin_top" %> | 125 | <%= submit_tag t(".restore_here"), :class => "action_button action_button" %> |
| 126 | <% end %> | 126 | <% end %> |
| 127 | <span class="field_hint"><%= t(".restore_hint") %></span> | 127 | <span class="field_hint"><%= t(".restore_hint") %></span> |
| 128 | </div> | 128 | </div> |
