summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-31 05:33:00 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-31 05:33:00 (EDT)
commit4b5d943b580e2892d822b4b786c0efcfa3855c12 (patch)
treeb292099e6882dc84473217230682da5330025f47
parentd3e0e7d539f993c1d4f849bf1f4bd92615dbd7e4 (diff)
downloadmarquee-4b5d943b580e2892d822b4b786c0efcfa3855c12.zip
marquee-4b5d943b580e2892d822b4b786c0efcfa3855c12.tar.gz
marquee-4b5d943b580e2892d822b4b786c0efcfa3855c12.tar.bz2
view-source: Set width of <pre> to apply bg to full width
-rw-r--r--src/view-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view-source.c b/src/view-source.c
index 7a716e2..38678bd 100644
--- a/src/view-source.c
+++ b/src/view-source.c
@@ -50,7 +50,7 @@ static const gchar *document =
"prism.js\"></script>\n"
"</head>\n"
"<body>\n"
- "<pre style=\"overflow: visible;\">\n"
+ "<pre style=\"overflow: visible; width: 100%;\">\n"
"<code class=\"language-markup line-numbers\" "
"style=\"overflow: visible;\">"
"%s</code>\n"