Mercurial > hg
comparison mercurial/templates/static/style-paper.css @ 13934:ebe1ddbbefd7
paper: preserve whitespace on description instead of adding breaks
This preserves the indentation of text in the changeset description.
This is useful for example for descriptions containing command line
use case examples like:
$ hg -q heads
13934:648a834cca14
13912:71ea5b2b9517
Without this patch, such space-char indented text was just left aligned.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 15 Apr 2011 10:56:26 +0200 |
parents | 1209e1d52b68 |
children | 1708a0cad774 |
comparison
equal
deleted
inserted
replaced
13933:3d83c7d70a98 | 13934:ebe1ddbbefd7 |
---|---|
208 | 208 |
209 div.description { | 209 div.description { |
210 border-left: 2px solid #999; | 210 border-left: 2px solid #999; |
211 margin: 1em 0 1em 0; | 211 margin: 1em 0 1em 0; |
212 padding: .3em; | 212 padding: .3em; |
213 white-space: pre; | |
213 } | 214 } |
214 | 215 |
215 /* Graph */ | 216 /* Graph */ |
216 div#wrapper { | 217 div#wrapper { |
217 position: relative; | 218 position: relative; |