修改osp的css文件,解决标题过长的显示问题

This commit is contained in:
ganyiang 2014-05-29 20:04:09 +08:00
parent 4b1212f279
commit 6ca1d7f7ab
1 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,8 @@
.li_list { .li_list {
clear:both; clear:both;
padding:0 0 0 0px; padding:0 0 0 0px;
} }
@ -13,6 +15,7 @@ padding:0 7px 0 0;
ol.linenums { ol.linenums {
margin:0 0 0 20px; margin:0 0 0 20px;
} }
ol.linenums li { ol.linenums li {
@ -38,6 +41,12 @@ clear:both;
height:18px; height:18px;
list-style-type:square; list-style-type:square;
padding:2px; padding:2px;
overflow: hidden;
overflow-x: hidden;
overflow-y: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
} }