Empty states are heading and text on the page, with no dashed box
Paul, about Docs' empty list: "Can we get rid of these dotted line views? I don't think they add anything." A dashed outline reads as a place to drop a file, and an empty state accepts nothing. This app serves its own copy of rastrillo's tokens.css. Its .rst-empty rule now matches Fiesta 1.5.0's: transparent background, no border, the padding takes back the border's 1px so nothing moves. The words and markup are untouched. The app's rastrillo pin is not moved: the pin is several releases behind, and `go tool rastrillo doctor --fix` at the next upgrade writes this rule itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+7
−3
internal/memoria/static/tokens.css+7 −3
CI failed — run details
CI log
=== vet ===
go vet ./...
go vet -tags browser ./internal/memoriatest/
=== fmt ===
=== test ===
go test ./...
? amadan.net/oficina/memoria/cmd/memoria [no test files]
? amadan.net/oficina/memoria/cmd/memoria-contract [no test files]
ok amadan.net/oficina/memoria/internal/memoria 11.451s
ok amadan.net/oficina/memoria/internal/memoria/chunk (cached)
ok amadan.net/oficina/memoria/internal/memoria/fact (cached)
? amadan.net/oficina/memoria/internal/memoria/icons [no test files]
ok amadan.net/oficina/memoria/internal/memoria/index (cached)
ok amadan.net/oficina/memoria/internal/memoria/notion (cached)
ok amadan.net/oficina/memoria/internal/memoria/provider (cached)
ok amadan.net/oficina/memoria/internal/memoria/query (cached)
ok amadan.net/oficina/memoria/internal/memoria/seal (cached)
ok amadan.net/oficina/memoria/internal/memoria/sibling (cached)
? amadan.net/oficina/memoria/internal/memoria/teamstate [no test files]
--- FAIL: TestVendoredAssetsMatchTheLibrary (0.00s)
vendored_test.go:39: static/tokens.css differs from the library copy; re-copy it (or delete its pin if the edit was deliberate)
FAIL
FAIL amadan.net/oficina/memoria/internal/memoriatest 5.099s
? amadan.net/oficina/memoria/scripts/writeestilo [no test files]
? amadan.net/oficina/memoria/tools/bench [no test files]
? amadan.net/oficina/memoria/tools/drive [no test files]
? amadan.net/oficina/memoria/tools/seed [no test files]
? amadan.net/oficina/memoria/tools/vendorassets [no test files]
FAIL
make: *** [Makefile:63: test] Error 1
amadan: step test failed: exit status 2
amadan: job failed at step test — its output is above, not at the tail of this log
diff --git a/internal/memoria/static/tokens.css b/internal/memoria/static/tokens.css| index 6886854..2b45b8c 100644 |
| --- a/internal/memoria/static/tokens.css |
| +++ b/internal/memoria/static/tokens.css |
| @@ -814,11 +814,15 @@ body { |
| } |
| /* ── empty-state ──────────────────────────────────────────────────── */ |
| +/* No box: the heading and text sit on the page. A dashed outline reads |
| + as a drop target, and an empty state accepts nothing. The radius |
| + stays because 1.x keeps every 1.0 declaration; it paints nothing now. |
| + The padding gains the 1px the border took, so nothing moves. */ |
| .rst-empty, [rst-empty] { |
| - background: var(--rst-surface); |
| - border: 1px dashed var(--rst-line-strong); |
| + background: transparent; |
| + border: none; |
| border-radius: var(--rst-radius); |
| - padding: var(--rst-sp-6) var(--rst-sp-4); |
| + padding: calc(var(--rst-sp-6) + 1px) calc(var(--rst-sp-4) + 1px); |
| text-align: center; |
| } |
| /* Class-based, so it styles the partial's <h2> without inheriting any |