From 333828e864db526d58896a62a12563103d8ef7f2 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 12 Nov 2021 10:49:52 +0000 Subject: [PATCH] mobile gird --- app/static/css/partials/_film.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/static/css/partials/_film.scss b/app/static/css/partials/_film.scss index eb1baf3..a0807e4 100755 --- a/app/static/css/partials/_film.scss +++ b/app/static/css/partials/_film.scss @@ -17,6 +17,7 @@ display: flex; flex-wrap: wrap; gap: 16px; + justify-content: center; } .film { @@ -40,6 +41,7 @@ } @media screen and (max-width: 799px) { .film { + width: calc(100% / 2 - 8px); margin-bottom: var(--spacing-2); h2 { margin-bottom: var(--spacing);