From 188c6f326b991793239c47751ef45226c0cd8890 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 3 Oct 2016 00:26:00 +0200 Subject: Making public pages responsive, removing reblogs/favs counts from them --- app/assets/stylesheets/application.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/assets/stylesheets/application.scss') diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 1bae0b44e..917a2f9d9 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -69,6 +69,7 @@ body { padding-bottom: 140px; text-rendering: optimizelegibility; font-feature-settings: "kern"; + min-width: 380px; &.app-body { position: fixed; @@ -90,6 +91,11 @@ body { width: 700px; margin: 0 auto; margin-top: 40px; + + @media screen and (max-width: 700px) { + width: 100%; + margin: 0; + } } .logo-container { @@ -141,6 +147,7 @@ body { .form-container { width: 400px; margin: 0 auto; + padding: 20px; .field { margin-bottom: 15px; -- cgit