fix/pdfe: scroller

This commit is contained in:
Konstantin Kireyev
2024-09-19 17:39:52 +05:00
parent d1f0690f20
commit 7610f5aba6
2 changed files with 4 additions and 6 deletions

View File

@ -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());
}
},

View File

@ -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;