fix: ui ratio
This commit is contained in:
parent
2204c2cdbf
commit
1b35b03eb1
|
@ -602,8 +602,8 @@ function Ui({disconnected}) {
|
||||||
>
|
>
|
||||||
<style>
|
<style>
|
||||||
{`
|
{`
|
||||||
@media (max-aspect-ratio: ${ratio}) { .${styles.game} { width: 100%; } }
|
@media (max-aspect-ratio: ${ratio}) { .${styles.game}, .${styles.ui} { width: 100%; } }
|
||||||
@media (min-aspect-ratio: ${ratio}) { .${styles.game} { height: 100%; } }
|
@media (min-aspect-ratio: ${ratio}) { .${styles.game}, .${styles.ui} { height: 100%; } }
|
||||||
.${styles.game} {
|
.${styles.game} {
|
||||||
cursor: ${
|
cursor: ${
|
||||||
bufferSlot
|
bufferSlot
|
||||||
|
|
Loading…
Reference in New Issue
Block a user