mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-14 00:40:49 +02:00
parent
9a4c23797a
commit
e60fe05ee0
2 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ class AutoSuggestInput extends Component {
|
|||
|
||||
const windowHeight = window.innerHeight;
|
||||
|
||||
if ((/^bottom/).test(data.placement)) {
|
||||
if ((/^botton/).test(data.placement)) {
|
||||
data.styles.maxHeight = windowHeight - bottom;
|
||||
} else {
|
||||
data.styles.maxHeight = top;
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ class EnhancedSelectInput extends Component {
|
|||
|
||||
const windowHeight = window.innerHeight;
|
||||
|
||||
if ((/^bottom/).test(data.placement)) {
|
||||
if ((/^botton/).test(data.placement)) {
|
||||
data.styles.maxHeight = windowHeight - bottom;
|
||||
} else {
|
||||
data.styles.maxHeight = top;
|
||||
|
|
|
|||
Loading…
Reference in a new issue