Skip to content
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

How to set event height in MonthView #1403

Open
QiannanXu opened this issue Jun 14, 2023 · 0 comments
Open

How to set event height in MonthView #1403

QiannanXu opened this issue Jun 14, 2023 · 0 comments

Comments

@QiannanXu
Copy link

Version 2.1.3

Current Behavior

I want to use Month view in mobile, so as UI designs, I need to set event height to 12px, but as code shows, the default event height is 24px, and doesn't support to be set by user.

// month event
export const MONTH_EVENT_BORDER_RADIUS = 2;
export const MONTH_EVENT_HEIGHT = 24;
export const MONTH_EVENT_MARGIN_TOP = 2;
export const MONTH_EVENT_MARGIN_LEFT = 8;
export const MONTH_EVENT_MARGIN_RIGHT = 8;

Expected Behavior

extract eventHeight as a config option.

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

No branches or pull requests

1 participant