mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +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)
|
||||
;div.loading
|
||||
=hx-get "/neo/hawk{tath}"
|
||||
=hx-target "closest .hawk"
|
||||
=hx-select ".hawk"
|
||||
=hx-target "closest .rendered"
|
||||
=hx-select ".rendered"
|
||||
=hx-trigger "load once"
|
||||
=hx-indicator "closest .loader"
|
||||
=hx-swap "outerHTML"
|
||||
@ -406,12 +406,14 @@
|
||||
0
|
||||
|= [=iota a=@]
|
||||
:_ +(a)
|
||||
;div.fr.ac.g1
|
||||
=/ pad ?:(=(a 0) "p-1" "p1")
|
||||
;div.fr.ac
|
||||
=style "height: 2rem;"
|
||||
;div.f4.s-1
|
||||
;div.f4.s-2
|
||||
;+ 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;"
|
||||
=href "/neo/hawk{(en-tape:pith:neo (scag +(a) here))}"
|
||||
;span.loaded
|
||||
|
Loading…
Reference in New Issue
Block a user