From: Tom Hughes Date: Mon, 21 Feb 2022 19:07:38 +0000 (+0000) Subject: Use a button element for button_to X-Git-Tag: live~1749 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b86390d303030ae5faca278445ca8b404c1937a4?hp=cb8419456bc9b68135d483630d0d9b33f3a1df0f Use a button element for button_to --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index d9fa276ba..d63317812 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1182,8 +1182,9 @@ tr.turn:hover { /* Rules for messages pages */ .messages { - input[type="submit"] { + button[type="submit"] { margin: auto; + white-space: nowrap; } .inbox-row { diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index 3a44fcd00..2c1e76822 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -11,7 +11,7 @@ # `button_to` view helper will render `