From 4651ff494aea3b433e8e8eb83a7bad7558538728 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 12 Sep 2018 14:44:02 +0200 Subject: [PATCH 1/1] margins for paypal form on small screens --- src/paypal/templates/paypal/form.html | 2 ++ src/wolnelektury/static/scss/main/base.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/paypal/templates/paypal/form.html b/src/paypal/templates/paypal/form.html index 99f727319..7bd8546e6 100644 --- a/src/paypal/templates/paypal/form.html +++ b/src/paypal/templates/paypal/form.html @@ -6,6 +6,7 @@ {% block title %}{% trans "Wolne Lektury Friend Club" %}{% endblock %} {% block body %} +

{% trans "Wolne Lektury Friend Club" %}

Poniżej możesz ustawić comiesięczną płatność (co najmniej 10 zł), aby dołączyć do Przyjaciół Wolnych Lektur.

{# https://www.facebook.com/sharer/sharer.php?u=https%3A//wolnelektury.pl{% url 'paypal_form' %} #} @@ -20,4 +21,5 @@ {% trans "You must be logged in to subscribe." %} {% endif %} {% chunk "klub_info" %} +
{% endblock %} \ No newline at end of file diff --git a/src/wolnelektury/static/scss/main/base.scss b/src/wolnelektury/static/scss/main/base.scss index e4fb701e6..45e383c53 100755 --- a/src/wolnelektury/static/scss/main/base.scss +++ b/src/wolnelektury/static/scss/main/base.scss @@ -220,3 +220,7 @@ ul.plain { @include size(margin-bottom, 10px); } } + +@media screen and (max-width: 62.5em) { + .mobile-margins {margin-left: 1em; margin-right: 1em;} +} -- 2.20.1