Mercurial > hg > agora-dellsystem
view static/css/code.less @ 158:d14822d10833
Fix line-wrapping and whitespace for snippets
This had been fixed before but I accidentally broke it when trying to
remove something else
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Mon, 15 Oct 2012 01:51:22 -0400 |
parents | 00c71a6192de |
children |
line wrap: on
line source
.snippet { width: 670px; font-family: monospace; position: relative; .code-lines { position: relative; left: 40px; padding: 10px; border: 1px solid @lightGrey; .border-radius(7px); .line { white-space: pre-wrap; word-wrap: break-word; } } .line-counters { position: absolute; top: 0; font-weight: bold; p { width: 30px; text-align: right; position: absolute; } } }