how to use bootstrap.min.css in calendar without overwrite my entire style page
anrras opened this issue · 2 comments
anrras commented
Hi, i want to use the calendar in a single page app, but the bootstrap stylesheet overwrite too many styles of my another components... is possible to use the only-needed class of bootstrap for a good integration with another styles?
burtek commented
One solution would be to re-use bootstrap .less
files and compile this to CSS:
.bootstrap {
@import "/path-to-bootstrap-less.less";
@import "/path-to-bootstrap-responsive-less.less";
}
(source)
Then you need to put calendar inside div.bootstrap
. This solution makes bootstrap CSS apply only to elements inside .bootstrap
class.
burtek commented
Closing for inactivity.