Merge pull request #9947 from kraktus/fix_dox_profile_inquiry

Fix inquiry dox note interfering with profile dox note
pull/9953/head
Thibault Duplessis 2021-10-10 12:47:13 +02:00 committed by GitHub
commit 0485c87f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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")

View File

@ -192,7 +192,7 @@ body.no-inquiry {
height: 8em;
}
.note-dox {
.dox-inquiry-div {
display: flex !important;
align-items: center;
padding: 0.5em;