monim67 / django-bootstrap-datepicker-plus

Bootstrap3/Bootstrap4/Bootstrap5 DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range-picker functionality for django >= 2.0
https://pypi.python.org/pypi/django-bootstrap-datepicker-plus
MIT License
223 stars 61 forks source link

Redfining Bootstrap css class .glyphicon should be avoided #79

Closed dzhuang closed 1 year ago

dzhuang commented 2 years ago

Describe the bug These lines https://github.com/monim67/django-bootstrap-datepicker-plus/blob/91400a3f80546eb046536e902f6825bdfd2f0836/bootstrap_datepicker_plus/static/bootstrap_datepicker_plus/css/datepicker-widget.css#L11-L21 were redefining .glyphicon, it will affect Glyphicons loaded after the widget.

dzhuang commented 2 years ago

The work around can be using other css class prefix such as bootstrap-datepicker-glyphicon instead of glyphicon.

dzhuang commented 1 year ago

Closed as #80 is merged.