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('mouseup', stopDragging);
|
||||
document.addEventListener('mousemove', handleCursor);
|
||||
toggleSidebar(false);
|
||||
}
|
||||
|
||||
toggleSidebar(false);
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
$: coursesPath = $appStore.isOrgSite
|
||||
? '/lms/mylearning'
|
||||
: isCoursePage
|
||||
? `${$currentOrgPath}/courses`
|
||||
: $currentOrgPath;
|
||||
? `${$currentOrgPath}/courses`
|
||||
: $currentOrgPath;
|
||||
</script>
|
||||
|
||||
<nav
|
||||
|
||||
@@ -5,5 +5,5 @@ export const newOrgModal = writable({
|
||||
});
|
||||
|
||||
export const sideBar = writable({
|
||||
hidden: false
|
||||
hidden: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user