diff options
| author | dev | 2026-06-27 15:55:53 +0200 |
|---|---|---|
| committer | dev | 2026-06-27 15:55:53 +0200 |
| commit | d53cad5208f923b0e136d2f4fa3808d9c2335c7c (patch) | |
| tree | af96d92762ec54620ad846b8f90ce755f571095c | |
| parent | a3d8685ff8bc25a635dd72c052c03279b2c4d184 (diff) | |
| download | curious-d53cad5208f923b0e136d2f4fa3808d9c2335c7c.tar.gz | |
style: responsive cinema grid — 3 per row, 2 on tablets, 1 on mobile
| -rw-r--r-- | resources/views/cinema.blade.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/cinema.blade.php b/resources/views/cinema.blade.php index bce68fa..84459a5 100644 --- a/resources/views/cinema.blade.php +++ b/resources/views/cinema.blade.php @@ -16,6 +16,20 @@ html { .movie-card { flex: 1 1 0; + min-width: 0; + max-width: 33.333%; +} + +@media (max-width: 991.98px) { + .movie-card { + max-width: 50%; + } +} + +@media (max-width: 575.98px) { + .movie-card { + max-width: 100%; + } } .movie-card .poster { |
