Mercurial > agora
comparison static/css/agora.less @ 131:d6f65888e0f3
Add text-wrapping for snippet diffs
Otherwise, if the line is too long, it will break out of the box and
may be partially hidden behind the sidebar and may go beyond the page.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Sat, 22 Sep 2012 12:12:13 -0400 |
parents | 5ab229c9d348 |
children | 3c4dc3b15f3b |
comparison
equal
deleted
inserted
replaced
130:5ab229c9d348 | 131:d6f65888e0f3 |
---|---|
240 #diff { | 240 #diff { |
241 .hidden; | 241 .hidden; |
242 border: 1px solid @lightGrey; | 242 border: 1px solid @lightGrey; |
243 padding: 10px; | 243 padding: 10px; |
244 background: @offWhite; | 244 background: @offWhite; |
245 .code { | |
246 white-space: pre-wrap; | |
247 } | |
245 | 248 |
246 .gi { | 249 .gi { |
247 background: #DFD; | 250 background: #DFD; |
248 } | 251 } |
249 | 252 |