Remove the drawer pull bar from the top of the home screen
Swipe down still opens the drawer; the bar was only a hint. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016tBSNsqzyqdsTFC7hq9LUg
This commit is contained in:
3 files changed
+1
-11
No files matched your search
@@ -710,12 +710,6 @@ def view_home() -> None:
|
||||
on_longpress(MENU, 0)
|
||||
if resizing >= 0:
|
||||
on_click(RESIZE_DONE, 0) # a tap beside the widget finishes
|
||||
el("button")
|
||||
cls("pull")
|
||||
attr("aria-label", "All apps")
|
||||
on_click(OPEN_DRAWER, 0)
|
||||
end()
|
||||
|
||||
view_panel()
|
||||
|
||||
el("ul")
|
||||
|
||||
Binary file not shown.
+1
-5
@@ -15,11 +15,7 @@ body { margin: 0; min-height: 100vh; color: #fff; -webkit-tap-highlight-color: t
|
||||
|
||||
/* ---- home */
|
||||
.home { min-height: 100vh; box-sizing: border-box;
|
||||
padding: calc(var(--top) + 2rem) 16px calc(var(--bottom) + 1.5rem); }
|
||||
.pull { position: fixed; top: calc(var(--top) + .4rem); left: 50%; transform: translateX(-50%);
|
||||
width: 3rem; height: 1.25rem; padding: 0; border: 0; background: none; cursor: pointer; }
|
||||
.pull::before { content: ""; display: block; width: 2.25rem; height: .3rem; margin: auto;
|
||||
border-radius: 999px; background: rgb(255 255 255 / .45); }
|
||||
padding: calc(var(--top) + 1rem) 16px calc(var(--bottom) + 1.5rem); }
|
||||
|
||||
.panel { display: flex; gap: .5rem; margin: 0 auto 1rem; padding: .4rem; max-width: 22rem;
|
||||
border-radius: 1.25rem; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .16);
|
||||
|
||||
Reference in new issue
Block a user