improve styling, fix bottom bar underline bug
This commit is contained in:
@@ -7,19 +7,19 @@ class Home extends Shadow {
|
||||
render() {
|
||||
ZStack(() => {
|
||||
|
||||
img("/_/icons/hamburger.svg", "3em")
|
||||
.position("absolute")
|
||||
.zIndex(2)
|
||||
.left(1.5, em)
|
||||
.top(1, em)
|
||||
.onTouch(function (start) {
|
||||
if(start) {
|
||||
this.style.scale = "0.8"
|
||||
} else if(start === false) {
|
||||
this.style.scale = ""
|
||||
$("sidebar-").toggle()
|
||||
}
|
||||
})
|
||||
// img("/_/icons/hamburger.svg", "3em")
|
||||
// .position("absolute")
|
||||
// .zIndex(2)
|
||||
// .left(1.5, em)
|
||||
// .top(1, em)
|
||||
// .onTouch(function (start) {
|
||||
// if(start) {
|
||||
// this.style.scale = "0.8"
|
||||
// } else if(start === false) {
|
||||
// this.style.scale = ""
|
||||
// $("sidebar-").toggle()
|
||||
// }
|
||||
// })
|
||||
|
||||
Sidebar()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user