Skip to content

Commit

Permalink
Adapt minimal width for the resizer to 550
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Aug 21, 2024
1 parent 3bde126 commit 9ee4193
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class WpResizerDirective extends UntilDestroyedMixin implements OnInit, A
private resizer:HTMLElement;

// Min-width this element is allowed to have
private elementMinWidth = 530;
private elementMinWidth = 550;

public moving = false;

Expand All @@ -88,7 +88,7 @@ export class WpResizerDirective extends UntilDestroyedMixin implements OnInit, A
// to still work in case an element is duplicated by Angular.
const elements = document.getElementsByClassName(this.elementClass);
this.resizingElement = <HTMLElement>elements[elements.length - 1];

if (!this.resizingElement) {
return;
}
Expand Down

0 comments on commit 9ee4193

Please sign in to comment.