mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
lint fix, generated dist
This commit is contained in:
Vendored
+5
-1
@@ -4520,7 +4520,7 @@
|
||||
cols = Math.min(max_cols, Math.max(cols, this.options.min_cols));
|
||||
this.container_width = ((cols + 1) * this.options.widget_margins[0]) + (cols * this.min_widget_width);
|
||||
if (this.is_responsive()) {
|
||||
this.$el.css({'min-width': '100vw', 'max-width': '100vw'});
|
||||
this.$el.css({'min-width': '100%', 'max-width': '100%'});
|
||||
return this; //if we are responsive exit before setting the width of $el
|
||||
}
|
||||
this.$el.css('width', this.container_width);
|
||||
@@ -4850,6 +4850,10 @@
|
||||
this.baseX = ($window.width() - aw) / 2;
|
||||
this.baseY = this.$wrapper.offset().top;
|
||||
|
||||
if (this.$wrapper.css('position') === 'relative') {
|
||||
this.baseX = this.baseY = 0;
|
||||
}
|
||||
|
||||
$.each(this.faux_grid, $.proxy(function (i, coords) {
|
||||
this.faux_grid[i] = coords.update({
|
||||
left: this.baseX + (coords.data.col - 1) * this.min_widget_width,
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+5
-1
@@ -4520,7 +4520,7 @@
|
||||
cols = Math.min(max_cols, Math.max(cols, this.options.min_cols));
|
||||
this.container_width = ((cols + 1) * this.options.widget_margins[0]) + (cols * this.min_widget_width);
|
||||
if (this.is_responsive()) {
|
||||
this.$el.css({'min-width': '100vw', 'max-width': '100vw'});
|
||||
this.$el.css({'min-width': '100%', 'max-width': '100%'});
|
||||
return this; //if we are responsive exit before setting the width of $el
|
||||
}
|
||||
this.$el.css('width', this.container_width);
|
||||
@@ -4850,6 +4850,10 @@
|
||||
this.baseX = ($window.width() - aw) / 2;
|
||||
this.baseY = this.$wrapper.offset().top;
|
||||
|
||||
if (this.$wrapper.css('position') === 'relative') {
|
||||
this.baseX = this.baseY = 0;
|
||||
}
|
||||
|
||||
$.each(this.faux_grid, $.proxy(function (i, coords) {
|
||||
this.faux_grid[i] = coords.update({
|
||||
left: this.baseX + (coords.data.col - 1) * this.min_widget_width,
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -3956,7 +3956,7 @@
|
||||
this.baseX = ($window.width() - aw) / 2;
|
||||
this.baseY = this.$wrapper.offset().top;
|
||||
|
||||
if (this.$wrapper.css('position') == 'relative') {
|
||||
if (this.$wrapper.css('position') === 'relative') {
|
||||
this.baseX = this.baseY = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user