From c2541bed3e99c923e28a1da12fa5f6135e1e2e32 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 4 Aug 2017 21:08:05 +0200 Subject: [PATCH] Header smaller for lower height screens (#1341) * Update main.css * lower H3 bottom margin * smaller spacing for refine inputs * Update main.css * remove useless shit --- public/css/main.css | 12 ++++++++++++ templates/layouts/partials/helpers/search.jet.html | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index c8257c45..45f455ce 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -758,6 +758,18 @@ html, body { .torrent-hr { margin-bottom: 0; } } +@media (max-height: 750px) { + .header { height: 56px; } + .header .container>div { line-height: 58px; padding: 0 0.6rem; } + .header .h-logo img { height: 57px; padding: 5px 8px 5px 2px; } + .header .h-user .nav-btn { height: 57px; } + #content { top: 58px; } + #content.content-admin { top: 108px; } + + h3 { margin-bottom: 5px; } + .form-refine { margin-bottom: 8px; } +} + @media (max-width: 565px) { .header .h-search { margin-right: 0; } .header .h-search input { width: 90px !important; } diff --git a/templates/layouts/partials/helpers/search.jet.html b/templates/layouts/partials/helpers/search.jet.html index f126f3d0..bd460511 100644 --- a/templates/layouts/partials/helpers/search.jet.html +++ b/templates/layouts/partials/helpers/search.jet.html @@ -6,7 +6,6 @@ {{ end }} - {{end}} {{block search_button() }} @@ -14,7 +13,7 @@ {{end}} {{block search_refine(url="") }} -
+

{{ T("refine_search") }}