Merge pull request #6340 from niklasf/inline-mode-increment

save horizontal space for lobby filter settings
pull/6331/head^2
Thibault Duplessis 2020-04-07 12:53:22 -05:00 committed by GitHub
commit 65253598e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -34,7 +34,7 @@ object filter {
td(trans.timeControl()),
td(renderCheckboxes(form, "speed", filter.speed.map(_.id.toString), translatedSpeedChoices))
),
tr(
tr(cls := "inline")(
td(trans.increment()),
td(
renderCheckboxes(
@ -47,7 +47,7 @@ object filter {
)
)
),
ctx.isAuth option tr(
ctx.isAuth option tr(cls := "inline")(
td(trans.mode()),
td(renderCheckboxes(form, "mode", filter.mode.map(_.id.toString), translatedModeChoices))
),

View File

@ -32,6 +32,10 @@
tr.variant .checkable {
width: 33.3%;
}
tr.inline .checkable {
display: inline-block;
padding: 4.3px 20px 4.3px 0;
}
input {
margin-right: .3em;
}