mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Fix reminder dropdown on task screen [SCI-6678] (#3987)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
8d25f456d1
commit
be9a576842
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ function initReminderDropdown(table) {
|
|||
let screenHeight = screen.height;
|
||||
let rowPosition = row[0].getBoundingClientRect().y;
|
||||
let dropdownMenu = $(this).find('.dropdown-menu');
|
||||
if ((screenHeight / 2) < rowPosition) {
|
||||
if ((screenHeight / 2) < rowPosition && $('.repository-show').length) {
|
||||
dropdownMenu.css({ top: 'unset', bottom: '100%' });
|
||||
} else {
|
||||
dropdownMenu.css({ bottom: 'unset', top: '100%' });
|
||||
|
|
Loading…
Reference in a new issue