-
Notifications
You must be signed in to change notification settings - Fork 28
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
Spacing and style in search bar #312
Comments
@fcoveram so is the search bar sticky, and is it only on this page? Currently all parts of the header are sticky, so this addition will result in a large chunk of the page being taken up. Have we decided if that's to change? |
No sticky search bar. The only sticky component in this page is the table of content. I suggested here to only keep the local nav fixed, as in the example shared by @ryelle. But not sure whether that's being addressed or not. |
Ah ok. This design seems to contradict that, it shows header, chapter list and ToC sticky, unless I'm mistaken.
Yeah I think maybe we need to get the header changes shipped before we can move forward with Developer and Documentation. |
Ah, thanks for clarifying. Yes this was a mistake in the mockup showing "scrolled", I forgot the header. Here's what it would actually look like, with the sticky behavior as proposed, correct me if I'm wrong @fcoveram: |
The version shown above is correct. Local nav fixed, and global header + breadcrumb non fixed. |
Thanks for clarifying.
Plus ToC, and chapters (looking at image above)? Currently chapters are not, and we'd need to add the logic the ToC has for looking at page height and determining whether it can fit and be fixed, or needs to scroll because it's longer than the window. It'll by slightly more complex because it can be expanded. |
Having the chapters and table of contents be sticky is an entirely not-urgent optimization we can do at any time, even after relaunch, and as with other similar elements would be the same across the site. For what it's worth, Chapters could scroll independently. That is, be always 100% height and have Here's a mixin we use:
Let me know if you'd prefer I open a separate issue for this. |
Thanks, that helps. I think we can get the ToC updated, it's pretty close.
A new issue covering the chapter list sticky behaviour would be great please! We already have issues for collapsing it on mobile, and the show/hide behaviour. |
As described here, the search bar has new changes:
Style
Design
Developer mockups. Updated with these changes.
The text was updated successfully, but these errors were encountered: