From 103f8db8cb997fc6675ca1153c38e1315f3d51bc Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 23 Aug 2017 16:57:34 +0200 Subject: [PATCH] Do not expand to fixed pixel size on mobile --- webadmin/src/theme.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/webadmin/src/theme.scss b/webadmin/src/theme.scss index 9018f3c3d..fc79b4063 100644 --- a/webadmin/src/theme.scss +++ b/webadmin/src/theme.scss @@ -142,13 +142,17 @@ html, body { } .content { - width: 720px; + width: 100%; max-width: 720px; margin: 0 auto; - &.content-large { - width: 970px; - max-width: 970px; + @media(min-width:768px) { + width: 720px; + + &.content-large { + width: 970px; + max-width: 970px; + } } }