angularjs - Loading Angularstrap datepicker CSS from Bootstrap -
angularstrap it's dependencies bootstrap css styles, bootstrap css doesn't include datepicker styles. missing?
here's looks now:
the docs (http://mgcrea.github.io/angular-strap/#/datepickers ) talk dependency
plugin dependency
datepickers require tooltip module , dateparser helper module loaded.
these docs use bootstrap-additions styling purposes.
but looking @ screenshot, seems icons not loaded. make sure have glyphicon configured in project. missing icons glyphicon-chevron-left
(left icon) , glyphicon-chevron-right
(right icon).
these additional styles used in docs (you might need styling):
.datepicker.dropdown-menu { width:250px; height:270px; } .datepicker.dropdown-menu button { outline:0; border:0; } .datepicker.dropdown-menu tbody { height:180px; } .datepicker.dropdown-menu tbody button { padding:6px; } .datepicker.dropdown-menu.datepicker-mode-1 tbody button, .datepicker.dropdown-menu.datepicker-mode-2 tbody button { height:65px; }
Comments
Post a Comment