From 37b5905b44e4334041e56eb941cfe8fcb33124c7 Mon Sep 17 00:00:00 2001 From: Ruben Barkow Date: Tue, 12 Jan 2016 00:02:39 +0100 Subject: [PATCH] save height on small screens There is a lot of white space between each post, that annoys on small screens. This will minimize the used space if the screen is lower than 700px in height. Rework of #3820 --- app/assets/stylesheets/desktop/topic-post.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 0e1b719540..9cde72fc72 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -1026,3 +1026,16 @@ and (max-width : 767px) { } } + +@media all +and (max-height: 700px) { + + .post-menu-area { + margin-bottom: 0px; + margin-top: -18px; + } + + .topic-body { + padding: 5px 11px 2px; + } +}