From 71859b6fb000f6b047bd4a79084ce205386110f4 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 6 Mar 2019 17:40:26 +0100 Subject: [PATCH] Fix too wide padding on small screens --- front/src/components/library/Home.vue | 4 ++-- front/src/style/_main.scss | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/front/src/components/library/Home.vue b/front/src/components/library/Home.vue index 7e44a46d2..42653c3a5 100644 --- a/front/src/components/library/Home.vue +++ b/front/src/components/library/Home.vue @@ -19,8 +19,8 @@ -
-
+
+
diff --git a/front/src/style/_main.scss b/front/src/style/_main.scss index 7dda3b264..ebd63d27d 100644 --- a/front/src/style/_main.scss +++ b/front/src/style/_main.scss @@ -143,9 +143,12 @@ body { } .ui.stripe.segment, #footer { - padding: 2em; + padding: 1em; @include media(">tablet") { - padding: 4em; + padding: 2em; + } + @include media(">desktop") { + padding: 3em; } }