Skip to content

Commit 55a6b06

Browse files
use css for positioning navigator (closes #412) (#766)
1 parent 95b9d9d commit 55a6b06

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

play.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,7 @@ html[dir="rtl"] #chatBorder {
20432043
}
20442044

20452045
#explorerContainer {
2046+
position: relative;
20462047
display: inline-block;
20472048
height: 300px;
20482049
text-align: center;
@@ -2073,6 +2074,7 @@ html[dir="rtl"] #chatBorder {
20732074

20742075
#explorerUndiscoveredLocationsLink {
20752076
position: absolute;
2077+
left: 0px;
20762078
padding: 12px;
20772079
}
20782080

play.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,9 +1736,6 @@ function onResize() {
17361736
: document.getElementById('chatboxContainer');
17371737
if (explorerContainer.parentElement !== explorerParent)
17381738
explorerParent.appendChild(explorerContainer);
1739-
const explorerFrame = document.getElementById('explorerFrame');
1740-
const explorerUndiscoveredLocationsLink = document.getElementById('explorerUndiscoveredLocationsLink');
1741-
explorerUndiscoveredLocationsLink.style.left = `${explorerFrame.offsetLeft}px`;
17421739
}
17431740

17441741
updateCanvasFullscreenSize();

0 commit comments

Comments
 (0)