Merge pull request #2080 from ONLYOFFICE/fix/equation-toolbar

[PE][SSE] Fix menu alignment in the equation toolbar
This commit is contained in:
Julia Radzhabova 2022-11-22 23:07:23 +03:00 committed by GitHub
commit 98a10b7f5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 4 deletions

View file

@ -2314,7 +2314,6 @@ define([
menu : new Common.UI.Menu({
cls: 'menu-shapes',
value: i,
restoreHeight: equationGroup.get('groupHeight') ? parseInt(equationGroup.get('groupHeight')) : true,
items: [
{ template: _.template('<div id="id-document-holder-btn-equation-menu-' + i +
'" class="menu-shape" style="width:' + (equationGroup.get('groupWidth') + 8) + 'px; ' +

View file

@ -2250,7 +2250,6 @@ define([
parentMenu: menu.items[i].menu,
store: equationsStore.at(i).get('groupStore'),
scrollAlwaysVisible: true,
restoreHeight: 10000,
itemTemplate: _.template(
'<div class="item-equation">' +
'<div class="equation-icon" style="background-position:<%= posX %>px <%= posY %>px;width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +

View file

@ -4325,7 +4325,6 @@ define([
menu : new Common.UI.Menu({
cls: 'menu-shapes',
value: i,
restoreHeight: equationGroup.get('groupHeight') ? parseInt(equationGroup.get('groupHeight')) : true,
items: [
{ template: _.template('<div id="id-document-holder-btn-equation-menu-' + i +
'" class="menu-shape" style="width:' + (equationGroup.get('groupWidth') + 8) + 'px; ' +

View file

@ -3947,7 +3947,6 @@ define([
parentMenu: menu.items[i].menu,
store: equationsStore.at(i).get('groupStore'),
scrollAlwaysVisible: true,
restoreHeight: 10000,
itemTemplate: _.template(
'<div class="item-equation">' +
'<div class="equation-icon" style="background-position:<%= posX %>px <%= posY %>px;width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +