Skip to content
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

Entry Emulator - hide sticky nav on linear topic pages #2785

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Oct 17, 2023

Is it a hack if you use the code as was intended? 😁

This adds an empty array to the gdoc content object's sticky-nav property, which causes the sticky nav to not render.

It was either this, or some sort of flag to hide the sticky nav. This seemed like the less intrusive way to handle it.

example:

image

archie excerpt:

image

@ikesau ikesau requested a review from danyx23 October 17, 2023 22:08
@ikesau ikesau self-assigned this Oct 17, 2023
@ikesau ikesau force-pushed the entry-emulator-no-sticky-nav branch from fdb65a9 to a6fce45 Compare October 18, 2023 13:57
Copy link
Contributor

danyx23 commented Oct 24, 2023

Yeah looks good! Just add it to the documentation and maybe tell authors briefly about it in some slack channel :)

@ikesau ikesau merged commit 42552f7 into master Oct 24, 2023
29 checks passed
@ikesau ikesau deleted the entry-emulator-no-sticky-nav branch October 24, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants