From 0e4ac2e8cc30b7a281466a66be68790ff7c7b3a8 Mon Sep 17 00:00:00 2001 From: zPlus Date: Sat, 22 Dec 2018 00:38:44 +0100 Subject: [PATCH] 100% buttons width on small screens. --- freepost/static/stylus/freepost.styl | 4 ++++ freepost/static/stylus/reset.styl | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/freepost/static/stylus/freepost.styl b/freepost/static/stylus/freepost.styl index 99aabd01..ab93142c 100755 --- a/freepost/static/stylus/freepost.styl +++ b/freepost/static/stylus/freepost.styl @@ -216,6 +216,10 @@ body > .about color #666 margin .5rem 0 0 0 + + > .pagination + > form + width 100% /* New submission page */ > form.submit diff --git a/freepost/static/stylus/reset.styl b/freepost/static/stylus/reset.styl index 58727359..5814c821 100755 --- a/freepost/static/stylus/reset.styl +++ b/freepost/static/stylus/reset.styl @@ -65,6 +65,12 @@ p padding .2em 1em text-align center +@media only screen and (max-width: 800px) + .button + font-size 1.2rem + padding .5em 1em + width 100% + .button_ok /* Green */ .button_ok:hover, .button_ok:visited