From bf67e8b4f72e2e813d01fdc0004f3c9b1dffe368 Mon Sep 17 00:00:00 2001 From: TeChn4K Date: Sat, 12 Oct 2019 12:37:55 +0200 Subject: [PATCH] Clean html & allow full height components --- public/index.html | 24 ++++++++++-------------- src/index.css | 26 +++++++++++++++++++++----- 2 files changed, 31 insertions(+), 19 deletions(-) diff --git a/public/index.html b/public/index.html index db6df60..8c48adc 100644 --- a/public/index.html +++ b/public/index.html @@ -1,17 +1,13 @@ - - - - - - Adblock Radio - - - - -
- - - + + + + + Adblock Radio + + +
+ + diff --git a/src/index.css b/src/index.css index e4f06be..130314b 100644 --- a/src/index.css +++ b/src/index.css @@ -1,10 +1,26 @@ +/* + * General + */ + body { - /*width: 550px;*/ - /*max-width: 800px;*/ - /*text-align: center; - margin: 0 auto 5px auto;*/ - background: white; /*linear-gradient(45deg, #4d5d95, #40f4ff) fixed;*/ + background: white; + /* Prevent pull-to-refresh when installed as a webapp */ + /* https://stackoverflow.com/questions/29008194/disabling-androids-chrome-pull-down-to-refresh-feature/29313685#29313685 */ + overflow-y: hidden; } + +html, +body, +#root { + margin: 0; + padding: 0; + height: 100%; +} + +/* + * Others, uncleaned + */ + #modeBox { text-align: center; margin-top: 5px;