summaryrefslogtreecommitdiff
path: root/scripts/sidebar.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sidebar.js')
-rw-r--r--scripts/sidebar.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/sidebar.js b/scripts/sidebar.js
index 22a54a6..3fcb63d 100644
--- a/scripts/sidebar.js
+++ b/scripts/sidebar.js
@@ -3,7 +3,7 @@ function toggleNav() {
const sStyle = window.getComputedStyle(sidebar);
if (sStyle.visibility == "hidden") {
- if (document.body.clientWidth >= 700) {
+ if (document.body.clientWidth >= 1000) {
document.getElementById("main").style.marginLeft = "360px";
try {
@@ -14,7 +14,7 @@ function toggleNav() {
}
try {
- document.getElementById("chip-container").style.marginLeft = "375px";
+ document.getElementById("chip-container").style.marginLeft = "355px";
} catch {
}
@@ -35,9 +35,9 @@ function toggleNav() {
}
try {
- document.getElementById("chip-container").style.marginLeft = "20px";
+ document.getElementById("chip-container").style.marginLeft = "0px";
} catch {
}
}
-} \ No newline at end of file
+}