[epiphany] source-view-handler: Fix horizontal scrollbars



commit b9f7621028c6c1ab4837bdf682c23594897a32b0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Sep 12 22:39:29 2016 -0500

    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.

 embed/ephy-view-source-handler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-view-source-handler.c b/embed/ephy-view-source-handler.c
index e72faa9..54285be 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>",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]