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

This looks so much better on mobile (suggestion) #55

Closed
ghost opened this issue Apr 8, 2017 · 2 comments
Closed

This looks so much better on mobile (suggestion) #55

ghost opened this issue Apr 8, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 8, 2017

Moving the month header to a separate <tr> in ./assets/fullcalendar/fullcalendar.js

and css:

#calendar td.fc-header-center {
    text-align: right !important;
}
#calendar table.fc-header {
    font-size: 13px !important;
}

makes the full calendar much more responsive (and fitting) on mobile devices - specially iphone 5, 5se and 6.

Without an adaption as this one, calendar is not usuable on iphone. Don't know about android though.

        function render() {
                tm = options.theme ? 'ui' : 'fc';
                var sections = options.header;
                if (sections) {
                        element = $("<table class='fc-header' style='width:100%'/>")
                                .append(
                                        $("<tr/>")
                                                .append("<td></td>")
                                                .append("<td></td>")
                                                .append(renderSection('center'))
                                )
                                .append(
                                        $("<tr/>")
                                                .append(renderSection('left'))
                                                .append("<td></td>")
                                                .append(renderSection('right'))
                                );
                        return element;
                }
        }

@ghost
Copy link
Author

ghost commented Apr 8, 2017

And don't forget to minify the fullcalendar.js to fullcalendar.min.js ;-)

kristianlm added a commit to Societec/humhub-modules-calendar that referenced this issue Dec 4, 2017
I think this is When that's not doing what it's supposed to, because
RRULE's `UNTIL` should be inclusive. This is a workaround for that
issue.

see humhub#55
kristianlm added a commit to Societec/humhub-modules-calendar that referenced this issue Dec 4, 2017
this will make recurring events be inclusive (it's a workaround with
When's). workaround originally introduced in
f7c1199 and then we missed it in
bb65a87

see humhub#55
@buddh4
Copy link
Contributor

buddh4 commented Jan 14, 2020

I've done some mobile view enhancement for in the upcoming release

@buddh4 buddh4 closed this as completed Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant