From 4fc4868b06c6c2b1de7b96157aa65bea040e8b7d Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Wed, 11 May 2016 01:07:24 +0200 Subject: [PATCH] fix cache --- prosopopee/cache.py | 2 ++ prosopopee/themes/exposure/static/css/style.css | 10 ++++++++-- prosopopee/themes/exposure/templates/index.html | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/prosopopee/cache.py b/prosopopee/cache.py index 744f83a..5397eda 100644 --- a/prosopopee/cache.py +++ b/prosopopee/cache.py @@ -9,6 +9,8 @@ def remove_superficial_options(options): del cleaned_options["name"] if "text" in cleaned_options: del cleaned_options["text"] + if "type" in cleaned_options: + del cleaned_options["type"] return cleaned_options diff --git a/prosopopee/themes/exposure/static/css/style.css b/prosopopee/themes/exposure/static/css/style.css index abead47..9df7d97 100644 --- a/prosopopee/themes/exposure/static/css/style.css +++ b/prosopopee/themes/exposure/static/css/style.css @@ -253,7 +253,13 @@ nav ul li > a.item-menu::before { font-style: normal; } -.gallery-cover video.fillWidth, -.gallery-cover img.fillWidth { +.gallery-cover video.fillWidth { height: 100%; + position: absolute; + top: 0px; + left: 0px; +} + +.gallery-cover img.fillWidth { + width: 100%; } diff --git a/prosopopee/themes/exposure/templates/index.html b/prosopopee/themes/exposure/templates/index.html index 128e027..568178c 100644 --- a/prosopopee/themes/exposure/templates/index.html +++ b/prosopopee/themes/exposure/templates/index.html @@ -32,6 +32,7 @@ {% endif %} {% if video %}