This is a migrated thread and some comments may be shown as answers.

css padding help

1 Answer 67 Views
MultiViewCalendar
This is a migrated thread and some comments may be shown as answers.
mmarchev
Top achievements
Rank 1
mmarchev asked on 04 May 2020, 04:01 PM

Hi,  I am trying to make my calendar 3 months view with padding of 16px just like the demo.  But its not working, some Telerik css is overwriting it.  Even if I try to force it inline for each month its not working.

 

 

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 06 May 2020, 08:26 AM

Hi,

Based on the provided information, I believe that you want to change the space between the calendars in the MultiViewCalendar. Please, correct me if I am wrong.

If this is the case, you could use CSS similar to:

    <style>
      .k-calendar-range .k-content .k-meta-header, 
      .k-calendar-range .k-content .k-month-header {
        margin: 0 64px;
      }
      
      .k-calendar-range .k-content {
        padding: 0 64px 8px;
      }
    </style>

For a runnable example, check this test page - https://dojo.telerik.com/iZOtACUG

I hope this helps.

 

Regards,
Preslav
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
MultiViewCalendar
Asked by
mmarchev
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or