mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 05:22:27 +03:00
nicer padding in breadcrumbs & fix refresher on non-0th slot
This commit is contained in:
parent
be05d8fd78
commit
b0a55cd402
@ -283,8 +283,8 @@
|
|||||||
=/ tath (en-tape:pith:neo pith)
|
=/ tath (en-tape:pith:neo pith)
|
||||||
;div.loading
|
;div.loading
|
||||||
=hx-get "/neo/hawk{tath}"
|
=hx-get "/neo/hawk{tath}"
|
||||||
=hx-target "closest .hawk"
|
=hx-target "closest .rendered"
|
||||||
=hx-select ".hawk"
|
=hx-select ".rendered"
|
||||||
=hx-trigger "load once"
|
=hx-trigger "load once"
|
||||||
=hx-indicator "closest .loader"
|
=hx-indicator "closest .loader"
|
||||||
=hx-swap "outerHTML"
|
=hx-swap "outerHTML"
|
||||||
@ -406,12 +406,14 @@
|
|||||||
0
|
0
|
||||||
|= [=iota a=@]
|
|= [=iota a=@]
|
||||||
:_ +(a)
|
:_ +(a)
|
||||||
;div.fr.ac.g1
|
=/ pad ?:(=(a 0) "p-1" "p1")
|
||||||
|
;div.fr.ac
|
||||||
=style "height: 2rem;"
|
=style "height: 2rem;"
|
||||||
;div.f4.s-1
|
;div.f4.s-2
|
||||||
;+ chevron-right.feather-icons
|
;+ chevron-right.feather-icons
|
||||||
==
|
==
|
||||||
;a.hover.b2.br1.p-1.s0.loader.fc.ac.jc
|
;a
|
||||||
|
=class "hover b2 br1 {pad} s0 loader fc ac jc"
|
||||||
=style "height: 2rem;"
|
=style "height: 2rem;"
|
||||||
=href "/neo/hawk{(en-tape:pith:neo (scag +(a) here))}"
|
=href "/neo/hawk{(en-tape:pith:neo (scag +(a) here))}"
|
||||||
;span.loaded
|
;span.loaded
|
||||||
|
Loading…
Reference in New Issue
Block a user