From 85f20a901db8aefd7cecfd61b32c4e99a9beb103 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 23 Jul 2019 21:33:24 +0200 Subject: [PATCH] [Web] Remove top padding on login screen for small devices --- data/web/css/site/index.css | 5 +++++ data/web/inc/header.inc.php | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 data/web/css/site/index.css diff --git a/data/web/css/site/index.css b/data/web/css/site/index.css new file mode 100644 index 00000000..10f7c0d7 --- /dev/null +++ b/data/web/css/site/index.css @@ -0,0 +1,5 @@ +@media (max-width: 500px) { + #top { + padding-top: 15px !important; + } +} \ No newline at end of file diff --git a/data/web/inc/header.inc.php b/data/web/inc/header.inc.php index 38c6fa31..4b223140 100644 --- a/data/web/inc/header.inc.php +++ b/data/web/inc/header.inc.php @@ -26,6 +26,9 @@ if (preg_match("/debug/i", $_SERVER['REQUEST_URI'])) { $css_minifier->add('/web/css/site/debug.css'); } + if ($_SERVER['REQUEST_URI'] == '/') { + $css_minifier->add('/web/css/site/index.css'); + } ?>