Mercurial > agora-palash
diff static/css/agora.css @ 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 | 7a27b1c9cb84 |
children | 6573617409e2 |
line wrap: on
line diff
--- a/static/css/agora.css Sat Oct 13 17:42:22 2012 -0400 +++ b/static/css/agora.css Sun Oct 14 16:12:55 2012 -0400 @@ -39,7 +39,8 @@ #non-sidebar{display:inline-block;zoom:1;*display:inline;width:710px;padding-right:20px;vertical-align:top;} .hint{border:1px solid #60cae1;background:#c3e9f5;padding:10px;margin-bottom:10px;} hr{border:0;border-top:1px solid #aaaaaa;margin:5px 0;} -.tree ul{list-style-type:none;} +#snippet-history{overflow-x:auto;}#snippet-history ul{white-space:nowrap;padding:0;list-style-type:none;} +#snippet-history >ul{margin-left:0;} #diff{display:none;border:1px solid #e6e6e6;padding:10px;background:#fbfbfb;}#diff .code{white-space:pre-wrap;} #diff .gi{background:#DFD;} #diff .gu{color:#aaaaaa;}