Skip to content

Commit

Permalink
card-width-and-round-end-timer
Browse files Browse the repository at this point in the history
  • Loading branch information
JHLincoln committed Oct 24, 2024
1 parent 1068e50 commit ccf2b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ io.on("connection", (socket) => {

function startNextRoundTimer(gameId) {
if (games[gameId]) {
let timeRemaining = 60;
let timeRemaining = 30;
io.to(gameId).emit("start_timer", timeRemaining);
let timer = setInterval(() => {
timeRemaining -= 1;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Card.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function Card({ children }) {
return (
<div className="block max-w-sm min-w-96 p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 font-normal text-gray-700 dark:text-gray-400">
<div className="block max-w-lg min-w-120 p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 font-normal text-gray-700 dark:text-gray-400">
{ children }
</div>
)
Expand Down

0 comments on commit ccf2b89

Please sign in to comment.