Fix inquiry dox note interferring with profile dox note
Clicking on dox note on the profile was toggling the switch in the inquirypull/9946/head
parent
e6853e9bc1
commit
95bc46ad5e
|
@ -122,9 +122,9 @@ object inquiry {
|
|||
postForm(cls := "note", action := s"${routes.User.writeNote(in.user.username)}?note")(
|
||||
textarea(name := "text", placeholder := "Write a mod note"),
|
||||
input(tpe := "hidden", name := "mod", value := "true"),
|
||||
isGranted(_.Admin) option div(cls := "note-dox")(
|
||||
div(form3.cmnToggle("note-dox", "dox", checked = false)),
|
||||
label(`for` := "note-dox")("Doxing info")
|
||||
isGranted(_.Admin) option div(cls := "dox-inquiry-div")(
|
||||
div(form3.cmnToggle("dox-inquiry", "dox", checked = false)),
|
||||
label(`for` := "dox-inquiry")("Doxing info")
|
||||
),
|
||||
div(cls := "submission")(
|
||||
submitButton(cls := "button thin")("SEND")
|
||||
|
|
|
@ -192,7 +192,7 @@ body.no-inquiry {
|
|||
height: 8em;
|
||||
}
|
||||
|
||||
.note-dox {
|
||||
.dox-inquiry-div {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
padding: 0.5em;
|
||||
|
|
Loading…
Reference in New Issue