From 05901815616a29900729502d346b1eed8d9ae923 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 24 May 2021 11:04:19 +0200 Subject: [PATCH 1/1] eink fixes --- src/wolnelektury/static/js/base.js | 2 ++ src/wolnelektury/static/scss/eink.scss | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/src/wolnelektury/static/js/base.js b/src/wolnelektury/static/js/base.js index 2c2daa5f4..8502d6272 100644 --- a/src/wolnelektury/static/js/base.js +++ b/src/wolnelektury/static/js/base.js @@ -74,6 +74,8 @@ $("iframe", this).attr("src", $("iframe", this).attr('data-src')); }); + $(".media-eink .carousel").cycle({fx: "none"}); + (function() { var $current = null; diff --git a/src/wolnelektury/static/scss/eink.scss b/src/wolnelektury/static/scss/eink.scss index 50ffcfeac..713f2291d 100644 --- a/src/wolnelektury/static/scss/eink.scss +++ b/src/wolnelektury/static/scss/eink.scss @@ -135,6 +135,13 @@ border: 3px solid black; } + .annoy-banner-on_blackout { + display: none !important; + } + .annoy-banner_blackout { + display: none !important; + } + } -- 2.20.1