summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-21 17:07:45 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-21 17:07:45 +0200
commit33e7359d601a423ec9fd3de083a24a3d558abcc3 (patch)
treed1c972ed604e6eeeeae3a95e224739323265adfb /assets
parentc0120c9e1d8b2fe2e3881eddfa10cc0ecf858805 (diff)
Fix responsive
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_models.sass4
-rw-r--r--assets/sass/main.sass4
2 files changed, 8 insertions, 0 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%