Repository navigation
Conversation
- Download and Sign in share one box model, so they line up - Resources panel sits against the header, inside the window - Menu items are no longer all caps Refs unoplatform/uno-website#2305 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26712/docs/index.html |
- Hover bridge sits under the Resources item only, so the items next to it stay clickable while the panel is open - Download's transparent border shows the face colour, not the gradient's blue half - Sign In is capitalized, as on the main site - Shared button rule applies from 1024px only, after both button blocks - Header horizontal padding is one variable, used by the panel too - Resources columns lose the rule under each heading and link Refs unoplatform/uno-website#2305 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review panel: pass 1 (8 lenses, on 3418c8c)TL;DR: fix-first, now addressed. The two real problems were the hover bridge covering Pricing to Sign in while Resources was open, and a 2px blue strip on Download's border. Both are fixed in d611eb7, along with four smaller findings. Two questions are still open, below. Verdicts
Findings
Also in d611eb7, separate from the panel: the Resources columns no longer have a line under each heading and link. Open questions
Confirmed by the panel
How this was checked:
🤖 Generated with Claude Code |
|
Tick the box to add this pull request to the merge queue (same as
|
The chevron used vertical-align: top, which pinned it to the 14px line box, 2.5-4px above the middle of the label. From 1024px it now uses vertical-align: 0.1em, within 1px at the 14-18px label sizes. Also drops a line-height that the font shorthand after it always overrode. Refs unoplatform/uno-website#2305 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-26712/docs/index.html |
GitHub Issue: closes unoplatform/uno-website#2305
TL;DR: The docs header now uses the main site's menu (unoplatform/uno-website#1677), but it was still styled for the old copy. This fixes what QA found: Download and Sign In were misaligned, the Resources panel ran off the right edge, and the menu was all caps. It also removes the lines in the Resources columns, to match the main site.
PR Type:
🐞 Bugfix
What changed? 🚀
All changes are in
doc/templates/uno/component/navbar.scss, plus the compiledstyles/main.cssand its map.inline-flex, the same line height and vertical padding, and a 2px border on both. Download's border is transparent, withbackground-origin: border-boxso the gradient's blue half doesn't show through. Both buttons are 52px tall, at the same top.left: -25%. Resources is the only multi-column (row-menu) panel, and at about 800px wide it went past the right edge. From 1024px up it is now placed against the header,$header-padding-x(32px) in from the right, just below it. An invisible 24px bridge under the Resources link keeps the panel open while the pointer moves down into it. The bridge only covers the area under that link, so the items next to it stay clickable. The single-column Studio dropdown is unchanged.nav ais nowtext-transform: none, and Sign In usescapitalize. Both match the main site.li.column-title a, which also matched every link in a column, so each link got the heading's border and padding. It's now scoped to the heading (li.column-title > a), and the border is gone, as on the main site's mega menu.vertical-align: top, which pinned them to the 14px line box, 2.5–4px above the middle of the label. From 1024px they usevertical-align: 0.1em, which keeps them within 1px of centre at the 14, 16 and 18px label sizes.Mobile (under 1024px) keeps its layout, apart from the capitalization.
Not in this PR
/wp/v2/menuendpoint doesn't serve, so they need a website change first. The icons are drawn in#B8ADFD, which only reads well on the dark panel, so the panel and the icons belong in one follow-up.navbar.js), also from bug filing template link is broken in CONTRIBUTING.md file #1677. It will be done separately.How this was checked
npm ci, the external docs import, gulpclean/styles/scripts, then DocFX 2.73.2, the version CI pins. It reports 245 warnings and 1 error, the same asmasterwith nothing new. The error is the usual localarticles/implemented/toc.yml, which CI generates._siteand openedarticles/intro.html.main.csswas built with the same packages as master's. A freshnpm cialso drops an unrelated-webkit-backdrop-filterprefix (see the panel comment), and that's left out of this diff.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code