Hi, > My commit adds a padding-right to make sure that even if the file has > one short line, it's content will be left-aligned.
We could instead limit the expansion of the first column, which contains the line numbers, see attachment. Cheers, Christophe
>From 2bab7e42849fb26333dc0962e7a43f530a290143 Mon Sep 17 00:00:00 2001 From: Christophe Siraut <d...@tobald.eu.org> Date: Wed, 5 Nov 2014 13:43:28 +0100 Subject: [PATCH] css: limit the linenumbers column width, 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..c0f3575 100644 --- a/debsources/app/static/css/source_file.css +++ b/debsources/app/static/css/source_file.css @@ -18,6 +18,10 @@ License: GNU Affero General Public License, version 3 or above. padding: 0px; } +#codetable td:first-child { + width: 80px; +} + /* CAPTION */ #file_metadata { -- 2.1.1