fix for chrome 22 menu table cell truncation bug
This commit is contained in:
parent
1c02b95f82
commit
83413674a5
2 changed files with 5 additions and 3 deletions
|
@ -1692,8 +1692,6 @@ Menus
|
|||
}
|
||||
.OxMenu .OxItem .OxCell.OxTitle {
|
||||
padding-left: 4px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.OxMenu .OxItem .OxCell.OxModifiers {
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue