Skip to content

Commit ef597cd

Browse files
author
xaver
committed
cut long text in lists with css and show ... + fix for combobox icon position if no space
1 parent 44cee2b commit ef597cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

interface/web/themes/default/css/screen/content.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@
174174
table { width: auto; border-collapse:collapse; margin-bottom: 0.5em; }
175175
table.full { width: 100%; }
176176
table.fixed { table-layout:fixed }
177-
177+
178+
table.list td{max-width: 350px;min-width: px;overflow:hidden;text-overflow: ellipsis; -o-text-overflow: ellipsis; -icab-text-overflow: ellipsis; -khtml-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis;}
178179
th,td { padding: 0.5em;text-align:left; }
179180
thead th { background: #444 url(../../images/lists_thead_bg.png) repeat-x; color: #fff }
180181
tbody th { background: #ccc; color: #333 }

interface/web/themes/default_combobox/css/additional.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
table.list td {min-width:32px}
1+
.list .ui-widget{position:absolute}
22

33
/*
44
* jQuery UI CSS Framework 1.8.16

0 commit comments

Comments
 (0)