Merge pull request #1071 from ONLYOFFICE/fix/bug-fix

Fix bug 51932
This commit is contained in:
Julia Radzhabova 2021-08-13 14:17:32 +03:00 committed by GitHub
commit f66e48f258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -235,9 +235,10 @@ define([
onResize: function() {
if (this.openButton) {
var button = $('button', this.openButton.cmpEl);
button && button.css({
width : $('.button', this.cmpEl).width(),
height: $('.button', this.cmpEl).height()
var cntButton = $('.button', this.cmpEl);
button && cntButton.width() > 0 && button.css({
width : cntButton.width(),
height: cntButton.height()
});
this.openButton.menu.hide();

View file

@ -164,6 +164,11 @@
width: @combo-dataview-button-width;
height: @combo-dataview-height;
.btn-group, button {
width: 100%;
height: 100%;
}
button {
&.dropdown-toggle {
padding: 0;