Skip to content

Commit

Permalink
Fix UI
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed Apr 22, 2024
1 parent 8caad44 commit d922e58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
Expand Down
1 change: 0 additions & 1 deletion web/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
2 changes: 1 addition & 1 deletion web/js/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d922e58

Please sign in to comment.