diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-09-21 17:07:45 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-21 17:07:45 +0200 |
commit | 33e7359d601a423ec9fd3de083a24a3d558abcc3 (patch) | |
tree | d1c972ed604e6eeeeae3a95e224739323265adfb /assets/sass | |
parent | c0120c9e1d8b2fe2e3881eddfa10cc0ecf858805 (diff) |
Fix responsive
Diffstat (limited to 'assets/sass')
-rw-r--r-- | assets/sass/_models.sass | 4 | ||||
-rw-r--r-- | assets/sass/main.sass | 4 |
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% |