-
Notifications
You must be signed in to change notification settings - Fork 44
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
Time
- component (HDS-3945)
#2515
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
880c9b4
to
725c1b4
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…s, update return value
…erations and update tests
…hout tooltip, add more examples to Showcase
Co-authored-by: Lee White <[email protected]>
4da833a
to
d0012b4
Compare
|
||
.hds-time-range { | ||
display: inline-flex; // remove excess space between time range elements | ||
gap: 2px; // add a bit of space around en dash so it doesn't touch some number characters |
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.
@majedelass I added just a bit of spacing around the en dashes in date ranges to prevent them from actually touching text. I don't have a way of adding the same spacing within tooltip content however as those use only plain text (no html).
📌 Summary
If merged, this PR will add the
Time
component and service to HDS.Showcase: https://hds-showcase-git-hds-3945-date-time-display-hashicorp.vercel.app/components/time
Documentation branch:
Time
- docs (HDS-4161) #2557🔗 External links
👀 Component checklist
💬 Please consider using conventional comments when reviewing this PR.