fix: buggy behaviour of sidebar on mobile (#138)
* style: Improved font size of the answers in the FAQ section of the landing page * Fixed the sidebar bug
This commit is contained in:
@@ -122,9 +122,8 @@
|
|||||||
document.addEventListener('mousemove', dragSidebar);
|
document.addEventListener('mousemove', dragSidebar);
|
||||||
document.addEventListener('mouseup', stopDragging);
|
document.addEventListener('mouseup', stopDragging);
|
||||||
document.addEventListener('mousemove', handleCursor);
|
document.addEventListener('mousemove', handleCursor);
|
||||||
|
toggleSidebar(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleSidebar(false);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
|
|||||||
@@ -35,8 +35,8 @@
|
|||||||
$: coursesPath = $appStore.isOrgSite
|
$: coursesPath = $appStore.isOrgSite
|
||||||
? '/lms/mylearning'
|
? '/lms/mylearning'
|
||||||
: isCoursePage
|
: isCoursePage
|
||||||
? `${$currentOrgPath}/courses`
|
? `${$currentOrgPath}/courses`
|
||||||
: $currentOrgPath;
|
: $currentOrgPath;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav
|
<nav
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ export const newOrgModal = writable({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const sideBar = writable({
|
export const sideBar = writable({
|
||||||
hidden: false
|
hidden: true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user