mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:59:28 +08:00
Merge pull request #462 from ONLYOFFICE/fix/sse-math-info
[SSE] Fix bug with math info (small browser width)
This commit is contained in:
@ -742,7 +742,9 @@ define([
|
||||
this.$el.find('.over-box').removeClass('over-box');
|
||||
while (width + parseInt(this.boxMath.css('width')) + 100 > widthStatusbar) {
|
||||
var items = this.boxMath.find('label:not(.hide, .over-box)');
|
||||
$(items[items.length - 1]).addClass('over-box');
|
||||
(items.length>0) && $(items[items.length - 1]).addClass('over-box');
|
||||
if (items.length<=1)
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user