Compromise with setting mobile sites' stage height

This commit is contained in:
thepaperpilot 2019-10-30 22:24:05 -05:00
parent d90a1e158c
commit 32f6cf9bce
2 changed files with 17 additions and 11 deletions

View file

@ -284,6 +284,18 @@ button.accordion:focus {
padding: 10px;
}
.head h1 {
font-size: 1.5em;
}
.page-title {
font-size: large;
}
.sections div {
font-size: medium;
}
#current_chat {
font-size: large;
}
@ -295,17 +307,11 @@ button.accordion:focus {
#controls .inline {
width: 1rem;
}
}
.head h1 {
font-size: 1.5em;
}
.page-title {
font-size: large;
}
.sections div {
font-size: medium;
@media (pointer:coarse) {
#intro {
height: calc(100vh - 60px);
}
}

View file

@ -36,7 +36,7 @@ function startCutscene() {
let add = cut.actions.add.bind(cut)
cut.actions.add = function(callback, name, id, position) {
add(callback, name, id, position)
stage.resize(null, Math.floor(stage.screen.clientWidth), Math.floor(stage.screen.clientHeight))
stage.resize()
}
cut.actions.chat = function(callback, target, chatId) {