Skip to content

Commit 1fcffab

Browse files
committed
Update leave button
*Leave button position will now move based on number of players *Before change: leave button would look off and out of position.
1 parent 758caec commit 1fcffab

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

client/src/routes/+page.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
}
256256
257257
.leave-button {
258+
display: flex;
258259
background-color: #222222;
259260
color: white;
260261
font-size: 24px;
@@ -264,8 +265,8 @@
264265
cursor: pointer;
265266
transition: background-color 0.3s;
266267
position: absolute;
267-
left: 730px;
268-
top: 600px;
268+
margin-left: 310px;
269+
margin-top: 20px;
269270
}
270271
271272
button.no-hover:hover {

0 commit comments

Comments
 (0)