-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/pkgsite: various UI cleanups due to new fixed header on details page #40504
Comments
Would it be possible to keep the casing as it is in the main header? For pseudoversions, the version string will contain the commit hash, which may be a mix of uppercase and lowercase characters. Same with build metadata and pre-release identifiers. |
Sorry yeah. I meant to say casing should be preserved. |
Change https://golang.org/cl/246478 mentions this issue: |
overflow: auto was fixing an issue relating to the overflow menu in the fixed header on iOS, but was causing a bunch of other issues. Notably, the scrollbar was underneath the fixed header and anchor links did not behave as expected. Only set this on mobile Safari (where these issues don’t present themselves; I’m sure others will pop up but they’re at least restricted to mobile Safari). Updates golang/go#40504 Fixes golang/go#40552 Fixes golang/go#40556 Change-Id: Ib7e108672d6897421faefa3a0b45cc6d7835bb15 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/246478 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Change https://golang.org/cl/246577 mentions this issue: |
Change https://golang.org/cl/246578 mentions this issue: |
Change https://golang.org/cl/246580 mentions this issue: |
This change updates the styled :target pseudo-element to restrict it to details pages since a fixed header is not present on others. Updates golang/go#40504 Change-Id: Ifc528eb2ef6a10526615f29002f27abdb698605e Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/246577 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Updates golang/go#40504 Change-Id: I74d1b5130f141e9db033ebec2a9ef309cd2e0229 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/246578 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Since the search input is collapsed when not in focus on small viewports, the text should not be shown. Updates golang/go#40504 Change-Id: Ie4ea3e37a3c22ab7e9cb3198ec3c50108978547d Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/246580 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Change https://golang.org/cl/248185 mentions this issue: |
+ Add blank alt text to decorative images (including the main image) + Preserve the main image ratio when sizing using CSS + Reduce the intrinsic size of the main image since we were displaying a much smaller version on the page + Adjust CSS for smaller viewports. Specifically, reduce top margins at smaller viewports + Update CSS to be mobile by default, with media queries covering wider viewports (to be in line with the other CSS across the site) + Update the background color of one of the footers to ensure we have satisfactory contrast ratio as reported by Lighthouse + Use smart quotes around sample searches + Transform the label text for example searches using CSS instead of directly typing in all caps Updates golang/go#40504 Change-Id: I55d2823094d9968d00c6d48e64b10af5abd965f6 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/248185 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
GO1.14.6
on standard library packages. This should preserve the original casing:target
selector in stylesheet.css (and in sidenav.css) that’s used to ensure that anchor targets aren’t scrolled below the sticky headers isn’t needed for pages that don’t have them (and need to be adjusted for the new sticky header on the details pages)overflow: auto
on the html and body elements (used to fix an iOS focus bug) is causing other focus issues and the fixed header to appear over scrollbars/cc @julieqiu @jamalc
The text was updated successfully, but these errors were encountered: