mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 02:34:42 +00:00
Fix UI
This commit is contained in:
parent
8caad44ade
commit
d922e58278
4 changed files with 4 additions and 4 deletions
|
|
@ -651,9 +651,9 @@ body {
|
|||
background: #000;
|
||||
opacity: .465;
|
||||
|
||||
font-size: 2vh;
|
||||
font-size: 1.45vh;
|
||||
font-family: monospace;
|
||||
min-width: 3.5em;
|
||||
min-width: 3em;
|
||||
|
||||
padding-right: .2em;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
|
|
|
|||
|
|
@ -458,7 +458,6 @@ sub(MESSAGE, onMessage);
|
|||
|
||||
sub(GAME_ROOM_AVAILABLE, onGameRoomAvailable, 2);
|
||||
sub(GAME_SAVED, () => message.show('Saved'));
|
||||
sub(GAME_LOADED, () => message.show('Loaded'));
|
||||
sub(GAME_PLAYER_IDX, data => {
|
||||
updatePlayerIndex(+data.index, state !== app.state.game);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const select = (key = '', callback = () => ({}), values = {values: [], labels: [
|
|||
|
||||
select.append(_option(0, current === '', 'none'));
|
||||
values.values.forEach((value, index) => {
|
||||
select.append(_option(value, current === value, values.labels?.[index]));
|
||||
select.append(_option(value, current == value, values.labels?.[index]));
|
||||
});
|
||||
|
||||
return el;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue