-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Improved table element styles & fixed table styles inside asides #2064
Conversation
🦋 Changeset detectedLatest commit: c8da560 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @SnowDingo! I made some changes as I think there were some conflicts between the styles you applied and other recent CSS changes to other bits of Starlight and I removed the background striping to match my example StackBlitz.
I’ve temporarily added a test page to the Starlight docs on this branch so people can view the result for a range of examples and check it in both light and dark mode: https://starlight-git-fork-snowdingo-main-astrodotbuild.vercel.app/guides/tables-test/
I’m personally happy with this, but would love to hear feedback from anyone else who has thoughts!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Some really nice styling here!
Agree with @lorenzolewis about the blue dividers having a purple tint. The header row divider feels too strong; I would lower the opacity or match the tint of the header text for the aside. The final divider of the table is subtly lighter than all the other dividers. In addition, it could be nice to remove the start and end inline padding of the first and last column of the table so the text aligns with the dividers and with other surrounding paragraphs! |
Co-authored-by: HiDeoo <[email protected]>
Thanks for the reviews folks — super helpful! I will play around with the header border and inline padding @evadecker 🙌
@evadecker Could you share a bit more about the browsers/hardware you’re using? I’ve checked a bunch of different browsers on macOS and can’t see the same thing. Wondering if its a subpixel antialiasing effect at a specific resolution 🤔 |
First noticed on iOS Safari and the issue is present on macOS Safari as well. Not present on Chrome. The issue seems to stem from Removing that rule and adding CleanShot.2024-06-29.at.10.00.41.mp4 |
Co-authored-by: Eva Decker <[email protected]>
OK, made two more changes based on @evadecker’s feedback:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Excited to see this go live!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, looks perfect now for me in the always-problematic browser that is Safari 😉
Does anyone know if this PR is ready to go? |
@SnowDingo Yes! Good to go. We will merge it when we are ready for the next release. Should be later this week. Thanks again! |
@delucis , no problem👍 |
This PR brings two changes to Astro Starlight:
Here are sample images of the new styling: