Fixes to buttons

This commit is contained in:
Oliver Rümpelein 2021-09-25 17:26:24 +02:00
parent 56670755d4
commit b4c0fa9c66
2 changed files with 4 additions and 4 deletions

View File

@ -61,11 +61,11 @@ fun HTML.createPlayerDocument() {
xOn("mousedown", "clicked = true")
xOn("touchstart", "clicked = true")
xBind("class", "{'active': clicked}")
+"I'm "
span {
p { +"I'm" }
p {
xText("playerName")
}
+" and I know this!"
p { +"and I know this!" }
}
}
}

View File

@ -56,7 +56,7 @@ div > .submit {
display: flex;
align-items: center;
justify-content: center;
white-space: pre;
flex-direction: column;
}
div > button.active {