From 95427446d2ea2bf4505b1e16b6aa22501c229cd6 Mon Sep 17 00:00:00 2001 From: esikkala <esko.ikkala@aalto.fi> Date: Tue, 23 Apr 2019 17:13:19 +0300 Subject: [PATCH] Adjust front page height --- src/client/components/main_layout/Main.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/components/main_layout/Main.js b/src/client/components/main_layout/Main.js index a3f5d41c..5e87a749 100644 --- a/src/client/components/main_layout/Main.js +++ b/src/client/components/main_layout/Main.js @@ -14,10 +14,11 @@ import thumbImage from '../../img/thumb.png'; const styles = theme => ({ root: { width: '100%', - height: 'calc(100% - 150px)', - overflow: 'auto', - [ theme.breakpoints.down('sm')]: { - height: '100%' + minHeight: 900, + marginBottom: theme.spacing.unit, + [ theme.breakpoints.up('md')]: { + height: 'calc(100% - 150px)', + overflow: 'auto', }, }, icon: { -- GitLab