From 45a7e200a8a36c1b6e27a8d5536b19959117a105 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Wed, 16 Sep 2015 15:13:44 -0300 Subject: [PATCH] Fix composer for FF14+ Fix the preview for old versions of Firefox. --- app/assets/stylesheets/desktop/compose.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/compose.scss b/app/assets/stylesheets/desktop/compose.scss index 55c0d45af11..a874ce89942 100644 --- a/app/assets/stylesheets/desktop/compose.scss +++ b/app/assets/stylesheets/desktop/compose.scss @@ -369,10 +369,11 @@ .wmd-input, .wmd-preview-scroller, .wmd-preview { + -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; height: 100%; - min-height: 100%; + min-height: auto; padding: 7px; margin: 0; background-color: $secondary; @@ -399,6 +400,7 @@ } .textarea-wrapper, .preview-wrapper { position: relative; + -moz-box-sizing: border-box; box-sizing: border-box; height: 100%; min-height: 100%;