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

Wrong css selector in calendarEvents.vue #14

Open
bluemoon24 opened this issue Jan 6, 2018 · 4 comments
Open

Wrong css selector in calendarEvents.vue #14

bluemoon24 opened this issue Jan 6, 2018 · 4 comments
Labels

Comments

@bluemoon24
Copy link

I guess, the class selectors should be "horizontal" and "vertical" instead of "horizontalLayout" and "verticalLayout". In purified css the current selectors are skipped, hence the eventRange line is not shown.

@FranckFreiburger
Copy link
Owner

in calendarView, I use:
<div class="content" :class="[ PERIOD[view]+'View', viewLayout[view]+'Layout' ]">
I understand that some css purifiers may mark horizontalLayout and verticalLayout as unused.
Tell me if there is a way to declare horizontalLayout and verticalLayout as "generated from an expression"

@bluemoon24
Copy link
Author

I don't treat myself as an expert in this field, but if I add ".view" (e.g. .calendar .view .horizontalLayout .eventRange) in calenderEvents.vue, it seems to work. Same problem with "monthView" class selector btw.

@FranckFreiburger
Copy link
Owner

which css purifier do you use ?

@bluemoon24
Copy link
Author

purify-css (https://github.com/npmdoc/node-npmdoc-purify-css). I'm using vue-boilerplate for PWA and Quasar for responsive design. Don't know, which brought it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants