MD-Anderson-Bioinformatics / NG-CHM

A dynamic, graphical environment for exploration of clustered or non-clustered heat map data in a web browser.
https://bioinformatics.mdanderson.org/main/NG-CHM-V2:Overview
GNU General Public License v2.0
10 stars 9 forks source link

Prefs panel drawn at edge when embedded in HTML #92

Open ChrisWakefield opened 3 years ago

ChrisWakefield commented 3 years ago

Jun (@jma7) discovered this when embedding a NGCHM saved as HTML into another HTML report file: When the prefs panel is invoked via the hamburger menu, it appears in the wrong location (off the right side).

ChrisWakefield commented 3 years ago

File NGCHM/WebContent/javascript/UserPreferenceManager.js has this at line 154: prefspanel.style.left = (NgChm.UTIL.containerElement.getBoundingClientRect().right - (prefspanel.offsetWidth)) + 'px';

that needs to be modified.