fix: ui ratio

This commit is contained in:
cha0s 2024-10-02 17:49:25 -05:00
parent 2204c2cdbf
commit 1b35b03eb1

View File

@ -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