changeset 471:c8e2f6b22527 bootstrap-4

Fix radio button alignment
author nanaya <me@nanaya.pro>
date Sun, 23 Feb 2020 22:35:44 +0900
parents c1e191d1b02a
children b26dd8fa1c26
files app/views/pastes/new.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/pastes/new.html.erb	Sun Feb 23 22:31:19 2020 +0900
+++ b/app/views/pastes/new.html.erb	Sun Feb 23 22:35:44 2020 +0900
@@ -39,7 +39,7 @@
         <label class="custom-control custom-radio mb-0">
           <%= f.radio_button :is_private, value, class: 'custom-control-input' %>
 
-          <span class="custom-control-label">
+          <span class="custom-control-label d-inline-block">
             <%= t(".privacy.#{label}") %>
           </span>
         </label>