diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index 6b6921e1..a20e2980 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -1692,8 +1692,6 @@ Menus } .OxMenu .OxItem .OxCell.OxTitle { padding-left: 4px; - text-overflow: ellipsis; - overflow: hidden; white-space: nowrap; } .OxMenu .OxItem .OxCell.OxModifiers { diff --git a/source/Ox.UI/js/Menu/MenuItem.js b/source/Ox.UI/js/Menu/MenuItem.js index 9777c7a9..d4671e21 100644 --- a/source/Ox.UI/js/Menu/MenuItem.js +++ b/source/Ox.UI/js/Menu/MenuItem.js @@ -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(