Fixes to buttons
This commit is contained in:
parent
56670755d4
commit
b4c0fa9c66
2 changed files with 4 additions and 4 deletions
|
@ -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!" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ div > .submit {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
white-space: pre;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
div > button.active {
|
||||
|
|
Loading…
Reference in a new issue