See https://www.woltlab.com/community/thread/298850-mulitselect-felder-werden-gr%C3%B6%C3%9Fer-angezeigt-als-notwendig-nach-update-auf-5-5/
this._input = input;
// set fixed height to avoid layout jumps
- this._element.style.setProperty("height", `${this._element.offsetHeight}px`, "");
+ const fixedHeight = Math.max(this._element.offsetHeight, 200);
+ this._element.style.setProperty("height", `${fixedHeight}px`, "");
}
/**
this._element = element;
this._input = input;
// set fixed height to avoid layout jumps
- this._element.style.setProperty("height", `${this._element.offsetHeight}px`, "");
+ const fixedHeight = Math.max(this._element.offsetHeight, 200);
+ this._element.style.setProperty("height", `${fixedHeight}px`, "");
}
/**
* Resets the filter.
color: $wcfInputText;
max-height: 500px;
max-width: 500px;
- min-height: 200px;
overflow: auto;
padding: 5px;