From 33e7359d601a423ec9fd3de083a24a3d558abcc3 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 21 Sep 2022 17:07:45 +0200 Subject: Fix responsive --- assets/sass/_models.sass | 4 ++++ assets/sass/main.sass | 4 ++++ pages/index.vue | 4 ++-- pages/models/_id.vue | 12 ++++++------ 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/assets/sass/_models.sass b/assets/sass/_models.sass index 40ce314..1d7688b 100644 --- a/assets/sass/_models.sass +++ b/assets/sass/_models.sass @@ -1,4 +1,8 @@ #modelpage + @media (max-width: 768px) + .images + height: auto !important + .images height: 30rem diff --git a/assets/sass/main.sass b/assets/sass/main.sass index be81a19..fc8c6bf 100644 --- a/assets/sass/main.sass +++ b/assets/sass/main.sass @@ -3,3 +3,7 @@ body background-color: #f3f4f6 + +@media (max-width: 768px) + .w-90p + max-width: 90% diff --git a/pages/index.vue b/pages/index.vue index cecc169..956e4f1 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,8 +1,8 @@