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

Bug#764178: debsources: infobox CSS alignment problem with short files



Hello again,

I seem to have included the wrong patch in my previous email, please see
the attached file in this email.

Sorry for the noise


-- 
Jason Pleau
>From 6cc9f15d51dd35a5afb82a2c3680e3e5dfc0f93b Mon Sep 17 00:00:00 2001
From: Jason Pleau <jason@jpleau.ca>
Date: Fri, 31 Oct 2014 00:05:26 -0400
Subject: [PATCH] source_file: fix text overlapping the infobox

When browsing a file's source on sources.debian.net, if the file didn't
contain enough text its content would overlap onto the infobox to the
right.

This fixes the issue on at least Chromium 38 and Iceweasel 31.2.

Closes #764178
---
 debsources/app/static/css/source_file.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debsources/app/static/css/source_file.css b/debsources/app/static/css/source_file.css
index 58328bc..b21938b 100644
--- a/debsources/app/static/css/source_file.css
+++ b/debsources/app/static/css/source_file.css
@@ -39,6 +39,10 @@ License: GNU Affero General Public License, version 3 or above.
 
 /* LINE NUMBERS */
 
+#codetable pre{
+    padding-right: 450px;
+}
+
 #codetable #sourceslinenumbers{
     text-align: right;
     border-right: 1px solid black;
-- 
2.1.1


Reply to: