Tags: ranuts/document
Tags
fix(design): one height, one order for every item in the top bar The language button was 8px shorter than the nav links beside it: the links inherit the body's prose leading (1.65 -> 23.1px) while the trigger set `line-height: 1`, and its tallest child is a 15px globe. So hovering GitHub filled a 39px box and hovering the language name filled a 31px one, in the same row. Both now declare 22px, which is also the height of the theme switch that shares that row on /history. On a phone the same cause ran the other way: the trigger drops its label under 620px, leaving no text line box at all, so it fell back to 31px beside a 38px GitHub link. A `min-height` derived from the padding token holds it. While in there, three more things that had drifted apart in the same bar: - The order was reversed everywhere except the homepage -- language then GitHub on the content pages, /404 and /history; GitHub then language on /. Unified on the homepage's: external link first, preferences last. - /history and /embed-demo scrolled sideways at 390px (+17px and +27px), with the wordmark and a nav label broken onto two lines. They are the two app surfaces, so they carry a theme switch that other pages keep in a footer they do not have, and the row could not afford 137px of wordmark. The bar now shows the mark alone on a phone, on every page, which fits both with room to spare and needed the wordmark wrapped in a span (it was a bare text node CSS could not select). These two pages are not in the sitemap, so mobile-overflow.spec.ts had never seen them. - home.css dropped the GitHub link under 620px to make room for a language trigger "wide enough for Português" -- which has been icon-only on phones for a while. Removed. Plus the /history filter pill, 31px next to a 32px search field. Tests: two cases in language-menu.spec.ts -- every visible item in the bar shares a height and a baseline across five routes on desktop and on a phone, and neither app surface scrolls sideways at 390px. Reverse verified: removing the line-height reddens the desktop case, removing the min-height the phone one, and removing the wordmark rule reddens both the phone case and the overflow case. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
chore(deps): Bump hadolint/hadolint-action from 3.4.0 to 3.5.0 Bumps [hadolint/hadolint-action](https://github.com/hadolint/hadolint-action) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/hadolint/hadolint-action/releases) - [Commits](hadolint/hadolint-action@v3.4.0...v3.5.0) --- updated-dependencies: - dependency-name: hadolint/hadolint-action dependency-version: 3.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
chore(seo/geo): allow AI training crawlers in robots.txt Switch from 'citable-not-trained' to allowing all crawlers, including AI training crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot, …). Rationale: being in the training corpus lets assistants recommend the editor from memory, not only via live retrieval. Privacy is unaffected — this governs the public landing pages only; user documents are never uploaded. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
test: add SW routing tests covering font-interception crash prevention Documents the fetch routing rules in public/sw.js that prevent the OnlyOffice v7.5 units_per_EM crash: - Font files (.ttf/.woff/.woff2/.otf/.eot) must bypass the SW to avoid added latency that triggers Chrome's font-loading intervention - Document URLs (?src=, ?file=) bypass the cache to stay fresh - Cross-origin and non-GET requests are not intercepted Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>