diff --git a/app/assets/stylesheets/overrides/_inputs.scss b/app/assets/stylesheets/overrides/_inputs.scss index aa89b202..2e29a938 100644 --- a/app/assets/stylesheets/overrides/_inputs.scss +++ b/app/assets/stylesheets/overrides/_inputs.scss @@ -29,3 +29,9 @@ .form-check-input:focus { box-shadow: rgba(var(--primary-rgb), 0.25) 0 0 0 0.25rem; } + +.input-group .button_to .btn { + margin-left: -1px; + border-top-left-radius: 0px; + border-bottom-left-radius: 0px; +} diff --git a/app/views/settings/mutes/_form.html.haml b/app/views/settings/mutes/_form.html.haml index ba13cd14..06c1e610 100644 --- a/app/views/settings/mutes/_form.html.haml +++ b/app/views/settings/mutes/_form.html.haml @@ -2,5 +2,4 @@ %form{ action: settings_muted_path, method: "post" } .input-group %input.form-control#muted-phrase{ name: :muted_phrase, placeholder: t(".placeholder"), required: true, minlength: 1, data: { controller: :autofocus } } - .input-group-append - %button.btn.btn-primary{ type: "submit" }= t("voc.add") + %button.btn.btn-primary{ type: "submit" }= t("voc.add") diff --git a/app/views/settings/mutes/_rule.html.haml b/app/views/settings/mutes/_rule.html.haml index 0bee6d13..a6322acc 100644 --- a/app/views/settings/mutes/_rule.html.haml +++ b/app/views/settings/mutes/_rule.html.haml @@ -1,6 +1,5 @@ .form-group.mb-3{ id: "rule_#{rule.id}" } .input-group %input.form-control{ disabled: true, value: rule.muted_phrase } - .input-group-append - = button_to settings_muted_destroy_path(rule.id), method: :delete, class: "btn btn-danger" do - = t("voc.remove") + = button_to settings_muted_destroy_path(rule.id), method: :delete, class: "btn btn-danger" do + = t("voc.remove")