Add remove rating feature
All checks were successful
Docker / docker (push) Successful in 1m51s

Bouton ✕ sur les films notés 10/10 pour supprimer la note via DELETE /api/rate/:id.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
dev
2026-03-04 13:54:28 +00:00
parent 2aa2634e6d
commit 9c70834bcb
4 changed files with 64 additions and 2 deletions

View File

@@ -316,6 +316,24 @@ main {
}
.r-btn:active { transform: scale(.92); }
.remove-btn {
margin-left: 6px;
width: 24px;
height: 24px;
border-radius: 5px;
border: 1px solid rgba(244,63,94,.25);
background: transparent;
color: #f87191;
font-size: .75rem;
cursor: pointer;
font-family: inherit;
transition: border-color .15s, background .15s;
}
.remove-btn:hover {
border-color: rgba(244,63,94,.5);
background: rgba(244,63,94,.1);
}
.skip-btn {
margin-left: 6px;
padding: 0 9px;