fix(ui): random text overflow spots
This commit is contained in:
parent
2102a8ea14
commit
573b10f5e1
6 changed files with 31 additions and 6 deletions
|
@ -262,7 +262,7 @@ media_theme_pref();
|
|||
const height = parent_height;
|
||||
const y = box.y + scroll;
|
||||
|
||||
if (y > height - scroll - 300) {
|
||||
if (y > height - scroll - 375) {
|
||||
dropdown.classList.add("top");
|
||||
} else {
|
||||
dropdown.classList.remove("top");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue