From 9b035276dd3dda62bd22f1dbdcb7224bd80626ca Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 30 May 2023 20:05:40 +0200 Subject: [PATCH] Added mobile optimization to the Content styles.sass --- client/src/common/components/Content/styles.sass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/client/src/common/components/Content/styles.sass b/client/src/common/components/Content/styles.sass index 81f3e5a..bd2c4b8 100644 --- a/client/src/common/components/Content/styles.sass +++ b/client/src/common/components/Content/styles.sass @@ -2,4 +2,12 @@ padding: 2rem 20vw 0 5rem height: calc(100vh - 7rem) overflow-y: scroll - overflow-x: hidden \ No newline at end of file + overflow-x: hidden + +@media screen and (max-width: 1024px) + .content-wrapper + padding: 2rem 22vw 0 2rem + +@media screen and (max-width: 375px) + .content-wrapper + padding: 2rem 21vw 0 0.5rem \ No newline at end of file