From 9df4cf547acaca27dd1d68cb3d1acf40d29b74bd Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Thu, 16 Feb 2017 14:33:49 +0100 Subject: [PATCH] Dont set min-height for WP full screen --- app/assets/stylesheets/_misc_legacy.sass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/_misc_legacy.sass b/app/assets/stylesheets/_misc_legacy.sass index 5a319d2c9a..f475cb8aa3 100644 --- a/app/assets/stylesheets/_misc_legacy.sass +++ b/app/assets/stylesheets/_misc_legacy.sass @@ -382,9 +382,13 @@ div.issue hr ol, ul margin-bottom: 6px -#content +// The min-height takes care that menus within the toolbar can be seen. +// On the full screen view the min-height crashes the complete view +// when anchors in the url were used on small sreens, because there the body is not scrollable. +body:not(.action-show) #content min-height: 300px +#content h3 margin: 12px 0 6px h2 + h3