Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370353

Summary: Line numbers for source in Git web interface are misaligned
Product: Community Reporter: Markus Keller <markus.kell.r>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Keller CLA 2012-02-01 12:03:13 EST
The line numbers for source in the Git web interface are misaligned:

http://git.eclipse.org/c/equinox/rt.equinox.p2.git/tree/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/processors/Pack200ProcessorTest.java

The problem is in
http://git.eclipse.org/eclipse.org-common/themes/Nova/css/visual.css :

The

    a {[..]	font-weight: bold; [..]}

not only makes the links wider but also taller. When I remove that property in Firebug, then the line numbers are fine again.
Comment 1 Markus Keller CLA 2012-02-01 12:24:10 EST
To avoid changing the whole world, an easy fix is to add

    font-weight: normal;

to "table.blob a.no" in http://git.eclipse.org/cgit.css
Comment 2 Denis Roy CLA 2012-02-01 13:57:39 EST
^^ Awesome.  I've added that to cgit.css.  Please give it a try.
Comment 3 Markus Keller CLA 2012-02-01 15:14:35 EST
Looks good, thx.