fixing logout, people not scrolling, sidebar being too short
This commit is contained in:
@@ -11,7 +11,6 @@ class Sidebar extends Shadow {
|
||||
.onClick(function (done) {
|
||||
if(done) {
|
||||
if (this.innerText === "Logout") {
|
||||
$("sidebar-").close()
|
||||
global.onLogout()
|
||||
return
|
||||
} else if (this.innerText === "Profile") {
|
||||
@@ -30,13 +29,14 @@ class Sidebar extends Shadow {
|
||||
})
|
||||
.gap(2, em)
|
||||
.paddingTop(30, vh)
|
||||
.height(100, vh)
|
||||
.height(105, vh)
|
||||
.width(70, vw)
|
||||
.borderLeft("1px solid var(--divider)")
|
||||
.color("var(--text)")
|
||||
.position("fixed")
|
||||
.background("var(--sidebar)")
|
||||
.xRight(-71, vw)
|
||||
.top(-5, vh)
|
||||
.transition("right .3s")
|
||||
.zIndex(3)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user