summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2016-09-12 22:39:29 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2016-09-12 22:40:24 -0500
commitb9f7621028c6c1ab4837bdf682c23594897a32b0 (patch)
tree33a5dbca22b9fd6ce746effaa478d21b6c9a7179
parentf4eb31dd1b458d573020065152a634985749e333 (diff)
downloadepiphany-b9f7621028c6c1ab4837bdf682c23594897a32b0.tar.gz
source-view-handler: Fix horizontal scrollbars
This allows you to get a horizontal scrollbar at the bottom of the window without having to scroll down to the very bottom of the page.
-rw-r--r--embed/ephy-view-source-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-view-source-handler.c b/embed/ephy-view-source-handler.c
index e72faa9e0..54285bea5 100644
--- a/embed/ephy-view-source-handler.c
+++ b/embed/ephy-view-source-handler.c
@@ -135,7 +135,7 @@ web_resource_data_cb (WebKitWebResource *resource,
"<body style=\"background-color: #f5f2f0;\">"
"<script src=\"ephy-resource:///org/gnome/epiphany/prism.js\"></script>"
/* http://prismjs.com/plugins/line-numbers/ */
- "<pre class=\"line-numbers\">"
+ "<pre class=\"line-numbers\" style=\"overflow: visible\">"
"<code class=\"language-markup\">%s</code>"
"</pre>"
"</body>",