We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9551a9a commit 6fd2257Copy full SHA for 6fd2257
src/jquery.contextMenu.js
@@ -1236,7 +1236,7 @@
1236
// determine width of absolutely positioned element
1237
$menu.css({position: 'absolute', display: 'block'});
1238
// don't apply yet, because that would break nested elements' widths
1239
- $menu.data('width', Math.ceil($menu.width()));
+ $menu.data('width', Math.ceil($menu.outerWidth()));
1240
// reset styles so they allow nested elements to grow/shrink naturally
1241
$menu.css({
1242
position: 'static',
src/sass/jquery.contextMenu.scss
@@ -31,7 +31,6 @@
31
min-width: $context-menu-min-width;
32
padding: $context-menu-container-padding;
33
position: absolute;
34
- white-space: pre;
35
}
36
37
.context-menu-item {
0 commit comments