From 1b59bb82b9cd38ff8cc3a2cd98d46820f71ec53f Mon Sep 17 00:00:00 2001 From: Allen Rabinovich Date: Mon, 6 Jan 2014 08:24:26 -0700 Subject: [PATCH] Fix the overflowing message pane issue. (imported from commit 07f73e7a8d13792220f3ca08f50c21eb12d454b6) --- static/styles/zulip.css | 9 +-------- static/templates/message.handlebars | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 3649acd3d8..a5bc658ad0 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -261,13 +261,6 @@ code { background: none !important; } -.codehilite pre { - width: 100%; - margin-left: -5000px; - position: relative; - left: 5000px; -} - pre { /* 12/14 em, so bootstrap's default 12 px, when body is the default 14 px */ @@ -1177,7 +1170,7 @@ table.compose_table { } div.focused_table { - display: table; + display: block; } .include-sender .message_content { diff --git a/static/templates/message.handlebars b/static/templates/message.handlebars index 61ff650e99..eac41e954f 100644 --- a/static/templates/message.handlebars +++ b/static/templates/message.handlebars @@ -221,7 +221,7 @@ {{#if trailing_bookend}}
-
+
{{trailing_bookend}}