Add a clear leaderboard button in leaderboard component

This commit is contained in:
2024-02-18 21:22:10 +01:00
parent 21d5f64c06
commit c9123a2da1
3 changed files with 55 additions and 4 deletions
+8 -4
View File
@@ -9,7 +9,7 @@
display: flex;
flex-direction: column;
width: 95svw;
max-width: 450px;
max-width: 500px;
border-radius: 5px;
background-color: #fff;
overflow: hidden;
@@ -73,8 +73,8 @@
.controls {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 100px;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
width: 100%;
& > .controlButton {
@@ -83,7 +83,7 @@
justify-content: center;
align-items: center;
gap: 10px;
padding: 10px 20px;
padding: 10px;
border: none;
border-radius: 5px;
font-size: 16px;
@@ -97,6 +97,10 @@
}
&.home {
background-color: #f39440;
}
&.clear {
background-color: #ca5940;
}