Skip to content

Commit

Permalink
otehr player name
Browse files Browse the repository at this point in the history
  • Loading branch information
amaz-e committed Jan 28, 2024
1 parent 17e84b9 commit bb8ac57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ body {
flex-direction: row;
}

#playersZones h {
#playersZones h1,h2,h3,h4 {

display:inline;
}
Expand All @@ -135,6 +135,10 @@ body {
background-image: url("../../playericon.png");
}

.otherPlayerName {
font-family: 'Honk', sans-serif;
}

.middle {
flex-grow: 1;
display: flex;
Expand Down
1 change: 1 addition & 0 deletions client/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ function addPlayerZone(playerName) {
playerDiv.setAttribute('data-player-name', playerName);

const nameElement = document.createElement('h3');
nameElement.className = 'otherPlayerName';
nameElement.textContent = playerName;

const laughElement = document.createElement('h4');
Expand Down

0 comments on commit bb8ac57

Please sign in to comment.