mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 04:25:06 +08:00
fix/pdfe: scroller
This commit is contained in:
@ -1376,7 +1376,6 @@ define([], function () {
|
||||
});
|
||||
this.btnApply.on('click', _.bind(this.applySettings, this));
|
||||
|
||||
this.pnlInfo = $markup.find('.flex-settings').addBack().filter('.flex-settings');
|
||||
this.pnlApply = $markup.findById('#fms-flex-apply');
|
||||
|
||||
this.rendered = true;
|
||||
@ -1386,7 +1385,7 @@ define([], function () {
|
||||
this.$el = $(node).html($markup);
|
||||
if (_.isUndefined(this.scroller)) {
|
||||
this.scroller = new Common.UI.Scroller({
|
||||
el: this.pnlInfo,
|
||||
el: this.$el,
|
||||
suppressScrollX: true,
|
||||
alwaysVisibleY: true
|
||||
});
|
||||
@ -1419,7 +1418,6 @@ define([], function () {
|
||||
updateScroller: function(destroy) {
|
||||
if (this.scroller) {
|
||||
this.scroller.update(destroy ? {} : undefined);
|
||||
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
|
||||
.header {
|
||||
.font-size-very-huge();
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.format-items {
|
||||
@ -198,7 +198,7 @@
|
||||
|
||||
#panel-settings {
|
||||
.header {
|
||||
margin: 30px 0 16px 30px;
|
||||
margin: 30px 0 18px 30px;
|
||||
.font-size-very-huge();
|
||||
.rtl & {
|
||||
margin: 30px 30px 16px 0;
|
||||
@ -287,7 +287,7 @@
|
||||
padding: 0 0 0 10px;
|
||||
white-space: nowrap;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 30px;
|
||||
|
||||
.rtl & {
|
||||
padding: 0 10px 10px 0;
|
||||
|
||||
Reference in New Issue
Block a user