Use position fixed to position windows

This ensures that their position does not influence the size of the
window.

Before the scroll size of the browser window was expanding to contain
our webamp windows, which meant we could never measure the natural size
of the window to position ourselves within it.

Thanks to @1j01 for the idea to try `position: fixed;`
This commit is contained in:
Jordan Eldredge 2018-10-03 14:58:05 -07:00
parent b2113cec85
commit 02f48d235b

View file

@ -120,7 +120,7 @@ class WindowManager extends React.Component<Props> {
render() {
const style: React.CSSProperties = {
position: "absolute",
position: "fixed",
top: 0,
left: 0
};