Page 1 of 1

calendar-table margin / padding css

Posted: Thu Sep 25, 2014 7:35 am
by null42
greetings. fyi, the default margin / padding css for the calendar-table class is incorrect:

Code: Select all

    .calendar-table table,tbody,tr,td {
        margin:0 !important;
        padding:0 !important;
    }
this will override tbody, tr, and td site wide. it should be something along the lines of:

Code: Select all

    .calendar-table table,
    .calendar-table tbody,
    .calendar-table tr,
    .calendar-table td {
        margin:0 !important;
        padding:0 !important;
    }
thanks for the plugin!

Re: calendar-table margin / padding css

Posted: Wed Feb 17, 2016 11:28 am
by Narwal
null42 wrote:greetings. fyi, the default margin / padding css for the calendar-table class is incorrect:

Code: Select all

    .calendar-table table,tbody,tr,td {
        margin:0 !important;
        padding:0 !important;
    }
this will override tbody, tr, and td site wide. it should be something along the lines of:

Code: Select all

    .calendar-table table,
    .calendar-table tbody,
    .calendar-table tr,
    .calendar-table td {
        margin:0 !important;
        padding:0 !important;
    }
thanks for the plugin!
I noticed this too null42. I'm not sure if your code is correct either as something seems to be off in the margin for me. Is there an updated version of this Calendar plugin?

Re: calendar-table margin / padding css

Posted: Sun Feb 18, 2018 8:48 pm
by Kieran
Thanks for reporting this, I'll look into it

Perhaps if you both provide me a link to your sites then I can see what works and what doesn't using Chrome/Firefox? Many thanks.

Re: calendar-table margin / padding css

Posted: Sat Dec 28, 2019 6:00 pm
by Kieran
Just an FYI, version 1.3.14 has just been pushed out and it contains these CSS fixes to the default style. Using the style reset tick box will allow you to pick these up if you've previously had issues with these