From 52ba27798fe15ace95ce6efa99eb6c2f72ceb01b Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Mon, 28 Dec 2015 17:48:22 -0500 Subject: [PATCH] Scroll only the code in the diff view Change-Id: I532f34f4ed5816e162b4d617a2f1a3063efd390a --- polygerrit-ui/app/elements/gr-diff.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polygerrit-ui/app/elements/gr-diff.html b/polygerrit-ui/app/elements/gr-diff.html index ebc67b991f..fe037e788f 100644 --- a/polygerrit-ui/app/elements/gr-diff.html +++ b/polygerrit-ui/app/elements/gr-diff.html @@ -29,8 +29,9 @@ limitations under the License. .diffContainer { border-bottom: 1px solid #eee; border-top: 1px solid #eee; - font-family: 'Source Code Pro', monospace; display: flex; + font-family: 'Source Code Pro', monospace; + overflow-x: auto; white-space: pre; } gr-diff-side:first-of-type {