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("mousedown", "clicked = true")
|
||||||
xOn("touchstart", "clicked = true")
|
xOn("touchstart", "clicked = true")
|
||||||
xBind("class", "{'active': clicked}")
|
xBind("class", "{'active': clicked}")
|
||||||
+"I'm "
|
p { +"I'm" }
|
||||||
span {
|
p {
|
||||||
xText("playerName")
|
xText("playerName")
|
||||||
}
|
}
|
||||||
+" and I know this!"
|
p { +"and I know this!" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ div > .submit {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
white-space: pre;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
div > button.active {
|
div > button.active {
|
||||||
|
|
Loading…
Reference in a new issue