mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 13:01:28 +02:00
@@ -104,7 +104,7 @@ class AutoSuggestInput extends Component {
|
|||||||
|
|
||||||
const windowHeight = window.innerHeight;
|
const windowHeight = window.innerHeight;
|
||||||
|
|
||||||
if ((/^bottom/).test(data.placement)) {
|
if ((/^botton/).test(data.placement)) {
|
||||||
data.styles.maxHeight = windowHeight - bottom;
|
data.styles.maxHeight = windowHeight - bottom;
|
||||||
} else {
|
} else {
|
||||||
data.styles.maxHeight = top;
|
data.styles.maxHeight = top;
|
||||||
|
@@ -144,7 +144,7 @@ class EnhancedSelectInput extends Component {
|
|||||||
|
|
||||||
const windowHeight = window.innerHeight;
|
const windowHeight = window.innerHeight;
|
||||||
|
|
||||||
if ((/^bottom/).test(data.placement)) {
|
if ((/^botton/).test(data.placement)) {
|
||||||
data.styles.maxHeight = windowHeight - bottom;
|
data.styles.maxHeight = windowHeight - bottom;
|
||||||
} else {
|
} else {
|
||||||
data.styles.maxHeight = top;
|
data.styles.maxHeight = top;
|
||||||
|
Reference in New Issue
Block a user