improve clear button

This commit is contained in:
julius 2025-01-25 19:59:40 +01:00
parent cbd729d60d
commit 4d4092d2de
Signed by: julius
GPG Key ID: C80A63E6A5FD7092
2 changed files with 13 additions and 4 deletions

View File

@ -122,3 +122,12 @@ button {
display: none;
height: 100%;
}
.renew {
cursor: pointer;
font-weight: bold;
position: absolute;
top: 0;
right: 8px;
font-size: 150%;
}

View File

@ -79,14 +79,14 @@ export function Chemistry() {
) : (
<>
<span
className="renew"
onClick={() => {
let newMiddle = user.concat(playersMiddle);
setPlayersMiddle(newMiddle);
setUser([]);
}}
>
{" "}
{" ✕"}
</span>
<br />
</>
@ -193,12 +193,12 @@ export function MVP() {
) : (
<>
<span
className="renew"
onClick={() => {
setUser([]);
}}
>
{" "}
{" ✕"}
</span>
<br />
</>