Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

feat: add class to next month row#377

Open
christianrank wants to merge 2 commits intoreact-component:masterfrom
eventink:feat/add_class_to_next_month_row
Open

feat: add class to next month row#377
christianrank wants to merge 2 commits intoreact-component:masterfrom
eventink:feat/add_class_to_next_month_row

Conversation

@christianrank
Copy link
Copy Markdown

When the last row in the calendar contains only days from the next month, it doesn't make sense to show that row.

For that I added a class ${prefixCls}-next-month-row that can be styled to display: none; in the application, so the row is not displayed anymore.

@christianrank christianrank force-pushed the feat/add_class_to_next_month_row branch from 64a4152 to ef398a3 Compare April 20, 2018 16:25
@christianrank
Copy link
Copy Markdown
Author

I can't figure out what's wrong with this snapshot test on the CI, it passes locally.
If anyone has an idea, let me know.

@christianrank christianrank force-pushed the feat/add_class_to_next_month_row branch from ef398a3 to ed0990b Compare April 26, 2018 10:14
@ant-design-bot
Copy link
Copy Markdown

Deploy preview for rc-calendar failed.

Built with commit b6fdce4

https://app.netlify.com/sites/rc-calendar/deploys/5bdc70cfb312743a408724c6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants