Skip to content

Update versioning dropdown #1760

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

Merged
merged 7 commits into from
Aug 7, 2017
Merged

Conversation

deronjohnson
Copy link
Contributor

This moves the versioning switch dropdown into the docs nav on mobile, and updates the style at all sizes.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cockroach-teamcity
Copy link
Member

- main nav was never given community dropdown on docs, so adding here
- sidenav menu top property was changed to padding-top when versioning was adding, revert to top to fix
@cockroach-teamcity
Copy link
Member

if (_viewport_width > 992) {
$('#version-switcher').show();
} else {
$('#version-switcher').hide();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well use $versionSwitcher here.

@benesch
Copy link
Contributor

benesch commented Aug 4, 2017

Thanks, @deronjohnson!

@cockroach-teamcity
Copy link
Member

@cockroach-teamcity
Copy link
Member

@cockroach-teamcity
Copy link
Member

1 similar comment
@cockroach-teamcity
Copy link
Member

@jseldess
Copy link
Contributor

jseldess commented Aug 7, 2017

TeamCity is failing on some external links to Digital Ocean. I'll merge this and resolve those links in a separate PR.

@jseldess jseldess merged commit ead5f20 into cockroachdb:master Aug 7, 2017
@deronjohnson deronjohnson deleted the versioning branch October 23, 2017 19:52
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.

4 participants