mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- minimize overflow issues with submenu elements
This commit is contained in:
parent
42c8f250cc
commit
f99610b9f2
1 changed files with 3 additions and 0 deletions
|
|
@ -1912,6 +1912,9 @@ function mttMenu(container, options)
|
|||
}
|
||||
}
|
||||
|
||||
//round the width to avoid overflow issues
|
||||
this.$container.width( Math.ceil(this.$container.width()) );
|
||||
|
||||
this.$caller.addClass('mtt-menu-item-active');
|
||||
var offset = this.$caller.offset();
|
||||
var containerWidth = this.$container.outerWidth(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue