From 5e0ef75b681415d88fa0c05a21a4cdf97ed39f9f Mon Sep 17 00:00:00 2001 From: kilo Date: Wed, 6 Sep 2017 12:00:48 +0200 Subject: [PATCH] Fix top padding for admins (#1521) * Update main.css * Update base.jet.html * Update index_admin.jet.html * add content-admin back * Add content-admin back * Update base.jet.html * Update base.jet.html * Update index_admin.jet.html --- public/css/main.css | 3 --- templates/layouts/index_admin.jet.html | 3 ++- templates/layouts/partials/base.jet.html | 6 +++--- templates/site/torrents/listing.jet.html | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index 304b4be7..6d3c220e 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -63,9 +63,6 @@ body { height: 60px; border-bottom: 1px solid; } -.header.content-admin { - height: auto; -} #cookie-warning { z-index: 4; diff --git a/templates/layouts/index_admin.jet.html b/templates/layouts/index_admin.jet.html index 0a6dad44..f6e94eb2 100644 --- a/templates/layouts/index_admin.jet.html +++ b/templates/layouts/index_admin.jet.html @@ -7,13 +7,14 @@ {{include "partials/menu/site"}} {{end}} +{* We used to add the class content for admin *} {{ block contclass()}}{{end}} {* We add the mod panel title and the title block *} {{block titleBase()}} Moderation Panel - {{block title()}}{{end}} {{end}} -{* We add the mod panel search refine and the body block *} +{* We add the mod nav and the body block *} {{ block content_body_base()}} {{include "partials/menu/admin"}} {{ block content_body()}} diff --git a/templates/layouts/partials/base.jet.html b/templates/layouts/partials/base.jet.html index ef89e397..d8403a7b 100644 --- a/templates/layouts/partials/base.jet.html +++ b/templates/layouts/partials/base.jet.html @@ -44,11 +44,11 @@ {{block additional_header()}}{{end}} -