From f52d488ddb04e060db39be67a2dec6121403bac3 Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Fri, 28 Feb 2020 18:23:02 +0100 Subject: [PATCH] Fixed layout issues with mobile / tablet views so far --- prosopopee/themes/exposure/static/css/style-page.css | 1 - prosopopee/themes/exposure/static/css/style.css | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 7c3ca50..2e9d8d1 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -13,7 +13,6 @@ body { } section { - margin-bottom: 80px; margin-top: 40px; } diff --git a/prosopopee/themes/exposure/static/css/style.css b/prosopopee/themes/exposure/static/css/style.css index 5546de3..39fc96f 100644 --- a/prosopopee/themes/exposure/static/css/style.css +++ b/prosopopee/themes/exposure/static/css/style.css @@ -17,7 +17,6 @@ a { .galleries-grid { width: 100%; - height: 100%; position: relative; text-align: center; margin: 0 auto; @@ -26,7 +25,6 @@ a { .galleries-line { width: 100%; - height: 100%; margin-bottom: -5px; /* YOLO */ } @@ -425,12 +423,6 @@ input:checked + .slider:before { border-radius: 50%; } -/* Needed height: 100% because if there is an element with non determined */ -/* height on the chain from root to node it fails! gallery-tags_as_list failed for this! */ -.subgal { - height: 100%; -} - .subgaldiv { height: 50vh; position: relative; @@ -444,7 +436,7 @@ input:checked + .slider:before { .gallery-square { width: 100% !important; margin-bottom: -7px !important; - padding-bottom: 70% !important; + /*padding-bottom: 70% !important;*/ } .gallery-title > h2 {