From 640263df8793b26dbc7948b067794c9c650c9412 Mon Sep 17 00:00:00 2001 From: ntr Date: Thu, 2 Jan 2020 22:16:43 +1000 Subject: [PATCH] mobile fixes --- client/assets/styles/styles.less | 4 ++++ client/assets/styles/styles.mobile.less | 9 +++++++++ client/src/components/front.page.jsx | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/client/assets/styles/styles.less b/client/assets/styles/styles.less index 9680f077..aa852df9 100644 --- a/client/assets/styles/styles.less +++ b/client/assets/styles/styles.less @@ -117,6 +117,10 @@ dl { .logo { margin: 2em 0; } + + .list { + margin-bottom: 0; + } } } diff --git a/client/assets/styles/styles.mobile.less b/client/assets/styles/styles.mobile.less index 430627bc..e713faab 100644 --- a/client/assets/styles/styles.mobile.less +++ b/client/assets/styles/styles.mobile.less @@ -7,6 +7,12 @@ font-size: 8pt; padding: 0; + &.front-page { + main { + padding: 0 0.5em; + } + } + .instance { grid-template-areas: "vbox vbox" @@ -273,6 +279,9 @@ } .info-combiner { + max-height: 7em; + overflow-y: scroll; + .info { display: none; } diff --git a/client/src/components/front.page.jsx b/client/src/components/front.page.jsx index 565d7946..32cf3e16 100644 --- a/client/src/components/front.page.jsx +++ b/client/src/components/front.page.jsx @@ -75,9 +75,9 @@ function Play(args) {
{list()}
- {news} -
+
+ {news} ); }