Skip to content

Highlighting todays date#68458

Closed
benazeer-ben wants to merge 1 commit intoWordPress:trunkfrom
benazeer-ben:calendar-highlight-today
Closed

Highlighting todays date#68458
benazeer-ben wants to merge 1 commit intoWordPress:trunkfrom
benazeer-ben:calendar-highlight-today

Conversation

@benazeer-ben
Copy link
Contributor

What?

Fixes #68451

Why?

Todays date is not highlighting in various themes.

How?

Added style to highlight todays date in the calendar block itself.

Testing Instructions

  • Open post or page in edit mode.
  • Add Calendar block.
  • Check today's date in calendar and verify.

Screenshots or screencast

Before After
Screenshot Screenshot (1)

@github-actions
Copy link

github-actions bot commented Jan 2, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: benazeer-ben <benazeer@git.wordpress.org>
Co-authored-by: himanshupathak95 <abcd95@git.wordpress.org>
Co-authored-by: viralsampat-multidots <mdviralsampat@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@benazeer-ben
Copy link
Contributor Author

Instead of simply underlining today's date, we could enhance visibility by applying a background color to highlight it more effectively.

Additional suggestions and ideas are welcome!

Screenshot (2)

@akasunil akasunil added [Type] Enhancement A suggestion for improvement. [Block] Code Affects the Code Block [Block] Calendar Affects the Calendar Block and removed [Block] Code Affects the Code Block labels Jan 6, 2025
@t-hamano
Copy link
Contributor

t-hamano commented Jan 8, 2025

Closing based on this comment.

@t-hamano t-hamano closed this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Calendar Affects the Calendar Block [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The calendar block having issue with today date.

3 participants