✨ Add a clear leaderboard button in leaderboard component
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user