summaryrefslogtreecommitdiff
path: root/resources/views/cinema.blade.php
diff options
context:
space:
mode:
authordev2026-06-27 15:55:53 +0200
committerdev2026-06-27 15:55:53 +0200
commitd53cad5208f923b0e136d2f4fa3808d9c2335c7c (patch)
treeaf96d92762ec54620ad846b8f90ce755f571095c /resources/views/cinema.blade.php
parenta3d8685ff8bc25a635dd72c052c03279b2c4d184 (diff)
downloadcurious-d53cad5208f923b0e136d2f4fa3808d9c2335c7c.tar.gz
style: responsive cinema grid — 3 per row, 2 on tablets, 1 on mobile
Diffstat (limited to 'resources/views/cinema.blade.php')
-rw-r--r--resources/views/cinema.blade.php14
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 {