fix for chrome 22 menu table cell truncation bug

This commit is contained in:
rolux 2012-10-02 16:46:31 +02:00
parent 1c02b95f82
commit 83413674a5
2 changed files with 5 additions and 3 deletions

View file

@ -1692,8 +1692,6 @@ Menus
}
.OxMenu .OxItem .OxCell.OxTitle {
padding-left: 4px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.OxMenu .OxItem .OxCell.OxModifiers {

View file

@ -89,7 +89,11 @@ Ox.MenuItem = function(options, self) {
.addClass('OxCell OxTitle')
.css(
self.options.maxWidth
? {maxWidth: self.options.maxWidth - 46}
? {
maxWidth: self.options.maxWidth - 46,
textOverflow: 'ellipsis',
overflow: 'hidden'
}
: {}
)
.html(