search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to get the text from upper left corner in the cell?

Asked by pushplata
8 months ago.

Hi i'm trying to put the text in the event cell but its coming from middle, how i can get from upper left corner,
please guide me.

Thanks in advance

Answer posted by Dan Letecky [DayPilot]
8 months ago.

The default theme uses "display: flex" and "align-items: center" to center the Scheduler event content vertically.

You can override it using the following CSS:

.scheduler_default_event_inner {
  align-items: start;
}

To read more about the CSS classes used by the Scheduler component, please see:
https://doc.daypilot.org/scheduler/css-classes/

Comment posted by pushplata
8 months ago.

Thanks its working for me.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.