From 3e846946bef097281b834bdc111f7027946ccfef Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Fri, 11 Oct 2013 15:41:57 -0700 Subject: [PATCH] Make ListingChooser full-height on short pages. The JS check in ListingChooser.initialize only takes care of the case where the list of multis is longer than the body. However, when there are very few multis *and* the page content is short, you get a weird truncated listing chooser. This fixes that by setting a min-height on body which works because html is already height: 100%. --- r2/r2/public/static/css/reddit.less | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/public/static/css/reddit.less b/r2/r2/public/static/css/reddit.less index f87a477b5..7075e8225 100755 --- a/r2/r2/public/static/css/reddit.less +++ b/r2/r2/public/static/css/reddit.less @@ -43,6 +43,7 @@ body { font: normal x-small verdana, arial, helvetica, sans-serif; background-color: white; z-index: 1; + min-height: 100%; } textarea { font: normal small verdana, arial, helvetica, sans-serif; }