Fix button rounding in mute settings
This commit is contained in:
parent
f4a08787ab
commit
c7542e005c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue