Fix poster selection and cart

This commit is contained in:
Pierret Hugo
2024-12-22 01:38:31 +01:00
parent d127beed48
commit 0d08d06aba
10 changed files with 334 additions and 249 deletions

View File

@@ -10,14 +10,11 @@
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
max-height: calc(100vh - 4rem);
overflow-y: auto;
padding-right: 1rem;
.poster-card {
position: relative;
aspect-ratio: 2/3;
border-radius: 8px;
overflow: hidden;
&:hover .delete-overlay {
opacity: 1;
@@ -26,7 +23,6 @@
.poster-image {
width: 100%;
height: 100%;
object-fit: cover;
}
.delete-overlay {

View File

@@ -35,6 +35,7 @@ $hover-color: rgba(102, 119, 136, 0.2);
}
.movie-item {
padding: 0 2rem;
margin-bottom: 1rem;
transition: background-color 0.3s ease;
display: flex;