From 8d860cd58e9c7976aa408a2ac424a495cff495af Mon Sep 17 00:00:00 2001 From: Nate Matykiewicz Date: Tue, 6 Apr 2021 23:00:37 -0500 Subject: [PATCH] Fix incorrect button rounding (#4862) .btn-group uses :first-child and :last-child to determine which buttons should have rounded corners and which ones should have square corners. The "Quiet" button had a square left corner, because the first child was a CSRF hidden field tag. Keeping only .btn elements inside the .btn-group means that the 1 or 2 buttons are rounded as expected. When there's no "Quiet" button, the "Stop" button has 4 round corners. When both buttons are present, the corners between the buttons are square. Fixes #4858 --- web/views/busy.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/views/busy.erb b/web/views/busy.erb index 2c2bc905..fce26fea 100644 --- a/web/views/busy.erb +++ b/web/views/busy.erb @@ -78,9 +78,10 @@ <%= process['busy'] %>
+ <%= csrf_tag %> + +
- <%= csrf_tag %> - <% unless process.stopping? %><% end %>