Skip to content

Make color palette heading sticky at the top #2081

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 3 commits into from
Feb 12, 2025
Merged

Make color palette heading sticky at the top #2081

merged 3 commits into from
Feb 12, 2025

Conversation

ManishaBose
Copy link
Contributor

Fixes #2065

  • Added a sticky color palette header for better visibility while scrolling.
  • Made it responsive for smaller screens.

Changes Before & After

Before:

image

After:

Screenshot 2025-02-10 at 7 40 16 PM

Highlighted Changes:

Screenshot 2025-02-10 at 7 38 11 PM

Let me know if any changes are required!

Copy link

vercel bot commented Feb 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:09pm

@ManishaBose
Copy link
Contributor Author

Fixes #2065

  • Adjusted background color
  • Updated z-index
  • Modified top values

Large screen:
Screenshot 2025-02-10 at 10 06 17 PM

Small screen:
Screenshot 2025-02-10 at 10 06 43 PM

Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

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

Thanks! I did tweak it a bit so it also overlays the label on the left and that there's a bit of padding on the top on small screens 👍

@philipp-spiess philipp-spiess merged commit 4fce7c0 into tailwindlabs:main Feb 12, 2025
2 checks passed
@ManishaBose
Copy link
Contributor Author

Hey @philipp-spiess ! Thanks for taking the time to make the tweaks and merge the PR - really appreciate it. This was my first foray into open-source, and I learned a lot from it. It looks much better after your adjustments!

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.

Make colors table heading sticky to top
2 participants