oficina / memoria Public

Add content's fields and the Notion token are 16px on a touch screen

[rst-stack]'s text, email and password inputs and its textarea set
font: inherit with a selector heavier than tokens.css's bare input and
textarea, so they stayed 14px under a coarse pointer and
TestNoZoomOnTap still failed on /add and /connectors/notion after the
move. They get the same max(1rem, 1em) under (pointer: coarse). Mouse
styles are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 841a6a6545534cd8e538e6adce5c0d2089b4ffe3 parent f852120
1 file changed, +14 −0
  • internal/memoria/static/memoria.css +14 −0

CI failed — run details

diff --git a/internal/memoria/static/memoria.css b/internal/memoria/static/memoria.css
index 13c4bdc..b06ea07 100644
--- a/internal/memoria/static/memoria.css
+++ b/internal/memoria/static/memoria.css
@@ -76,6 +76,20 @@ html { scrollbar-gutter: stable; }
outline: 2px solid var(--rst-accent);
outline-offset: 1px;
}
+/* iOS zooms the page into any text control under 16px, and tokens.css
+ * brings controls up to 16px where the pointer is coarse. The fields
+ * above set `font: inherit` with a selector that outweighs tokens.css's
+ * bare `input` and `textarea`, and fell back to 14px: Add content's
+ * title and body, and the Notion token. Same rule, same max(), restated
+ * here at their weight. TestNoZoomOnTap (make browser) measures them. */
+@media (pointer: coarse) {
+ [rst-stack] input[type="text"],
+ [rst-stack] input[type="email"],
+ [rst-stack] input[type="password"],
+ [rst-stack] textarea {
+ font-size: max(1rem, 1em);
+ }
+}
/* Pasted prose is prose: the body font, not a code box. */
[rst-stack] textarea { resize: vertical; }
/* A button is as wide as its label, not the column: [rst-stack] is a