Merge pull request #975 from ONLYOFFICE/fix/bugfix

Fix/bugfix
This commit is contained in:
Julia Radzhabova 2021-07-12 18:28:11 +03:00 committed by GitHub
commit d6eba21f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 5 deletions

View file

@ -57,4 +57,18 @@
.form-control:not(input) {
cursor: pointer;
}
li {
img {
-webkit-filter: none;
filter: none;
}
&.selected {
img {
-webkit-filter: none;
filter: none;
}
}
}
}

View file

@ -867,14 +867,14 @@ define([
this.chMulti.setValue(!!val, true);
this._state.Multi=val;
}
this.chMulti.setDisabled(!this._state.Fixed);
this.chMulti.setDisabled(!this._state.Fixed || this._state.Comb);
val = formTextPr.get_AutoFit();
if ( this._state.AutoFit!==val ) {
this.chAutofit.setValue(!!val, true);
this._state.AutoFit=val;
}
this.chAutofit.setDisabled(!this._state.Fixed);
this.chAutofit.setDisabled(!this._state.Fixed || this._state.Comb);
this.btnColor.setDisabled(!this._state.Comb);

View file

@ -42,7 +42,7 @@
<td class="padding-small">
<label class="header"><%= scope.textPreview %></label>
<div style="border: 1px solid #cbcbcb;width: 150px; height: 40px; padding: 3px;">
<div id="format-rules-edit-preview-format" style="width: 100%; height: 100%; position: relative; margin: 0 auto;"></div>
<div id="format-rules-edit-preview-format" style="width: 100%; height: 100%; position: relative; margin: 0 auto;background-color: #ffffff;"></div>
</div>
</td>
</tr>

View file

@ -229,7 +229,8 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template',
editable : false,
cls : 'input-group-nr',
data : cmbData,
takeFocusOnClose: true
takeFocusOnClose: true,
scrollAlwaysVisible: false
}).on('selected', function(combo, record) {
me.refreshRules(record.value);
});

View file

@ -152,7 +152,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesManagerDlg.templa
'<div class="list-item" style="width: 100%;display:inline-block;" id="format-manager-item-<%= ruleIndex %>">',
'<div style="width:181px;padding-right: 10px;display: inline-block;vertical-align: middle;overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"><%= name %></div>',
'<div style="width:181px;padding-right: 10px;display: inline-block;vertical-align: middle;"><div id="format-manager-txt-rule-<%= ruleIndex %>" style=""></div></div>',
'<div style="width:112px;display: inline-block;vertical-align: middle;"><div id="format-manager-item-preview-<%= ruleIndex %>" style="height:22px;"></div></div>',
'<div style="width:112px;display: inline-block;vertical-align: middle;"><div id="format-manager-item-preview-<%= ruleIndex %>" style="height:22px;background-color: #ffffff;"></div></div>',
'<% if (lock) { %>',
'<div class="lock-user"><%=lockuser%></div>',
'<% } %>',