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

Small mode #31

Closed
maddie-wang opened this issue Sep 25, 2020 · 2 comments
Closed

Small mode #31

maddie-wang opened this issue Sep 25, 2020 · 2 comments

Comments

@maddie-wang
Copy link

maddie-wang commented Sep 25, 2020

can we have a small mode? small mode is very important to me because the scheduler is way too long on my chrome extension, and I can't change the height of the cells. its not nice for the user to have to scroll to fill out all the times

unfortunately even if i use renderDateCell to make each cell 15px height, it won't change the height of the cells. the cells seem to have a fix height of 25px.

image

@bibekg
Copy link
Owner

bibekg commented Oct 24, 2020

Thanks for filing the issue. It looks like the 25px fixed height is coming from the TimeLabelCell on the left.

image

I'll put together a fix for it soon but a short-term solution in the interim to unblock you may be to add this custom CSS (selecting any div with a class starting with ScheduleSelector__TimeLabelCell) and unsetting the height.

div[class^=ScheduleSelector__TimeLabelCell] {
  height: 'unset' !important;
}

@bibekg
Copy link
Owner

bibekg commented Oct 25, 2020

Just published v3.0 which removes the fixed height for the time label and also introduces a renderTimeLabel prop that will optionally let you customize the time label exactly how you'd like.

@bibekg bibekg closed this as completed Oct 25, 2020
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

2 participants