Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
content/static,devtools,internal: update header to spec
This change implements the latest designs for the site header, adds a new fixed header to details pages, and updates to the latest Closure Compiler Docker image tag to support an API used by the new fixed header implementation (ResizeObserver). The global header is no longer sticky, but on the details page a hybrid header that shows a combination of the header content and details tabs is displayed when the inline tab list goes out of view. Both the inline and fixed tab lists are responsive in that the elements are pushed to an overflow container when they can no longer fit on screen. A native <select> tag is used for this to avoid implementing a popup menu (perhaps that can be done in a future change). The mechanism used to copy the current path to the clipboard has also been updated to avoid hacks that didn’t play well with screen readers. This method does not work on iOS, but a message is displayed to the user in that case. Fixes golang/go#37110 Change-Id: I2b8b73d7e85c122992b106e9b89d7e207be9f099 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/245400 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
- Loading branch information