Mercurial > agora-palash
diff static/css/agora.less @ 145:ee999b9f33f5
Add horizontal scrollbar to snippet history box
So that when the history is too deeply nested, you can simply scroll
to view the rest rather than them being extremely narrow
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Sun, 14 Oct 2012 16:12:55 -0400 |
parents | 3c4dc3b15f3b |
children | 6573617409e2 |
line wrap: on
line diff
--- a/static/css/agora.less Sat Oct 13 17:42:22 2012 -0400 +++ b/static/css/agora.less Sun Oct 14 16:12:55 2012 -0400 @@ -231,10 +231,18 @@ margin: 5px 0; } -.tree { +#snippet-history { + overflow-x: auto; + ul { + white-space: nowrap; + padding: 0; list-style-type: none; } + + & > ul { + margin-left: 0; + } } #diff {