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

Add the Made by Observable button to the top nav #2191

Merged
merged 25 commits into from
Oct 11, 2024
Merged

Add the Made by Observable button to the top nav #2191

merged 25 commits into from
Oct 11, 2024

Conversation

CobusT
Copy link
Contributor

@CobusT CobusT commented Oct 8, 2024

This PR adds the Made by Observable component to the Plot site.

Comment on lines 45 to 50
/* Hide the dark mode toggle */
.VPNavBarAppearance,
.VPNavBarExtra,
.VPNavBarHamburger {
display: none !important;
}
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn’t be necessary with appearance: "force-auto"?

Copy link
Member

Choose a reason for hiding this comment

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

Or maybe the comment only applied to .VPNavBarAppearance, whereas we still also want to hide .VPNavBarExtra and .VPNavBarHamburger? Although it makes me wonder what functionality we are losing by hiding those latter two things?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, .VPNavBarAppearance is not needed anymore (removed it). In terms of what we are missing from the othhers, they are actually empty with our implementation.

@CobusT CobusT marked this pull request as ready for review October 10, 2024 01:50
@CobusT CobusT requested a review from mbostock October 10, 2024 02:08
Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

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

Looks great!

@mbostock mbostock merged commit 6a0aa7e into main Oct 11, 2024
1 check passed
@mbostock mbostock deleted the cobus/top-nav branch October 11, 2024 04:08
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