developer
developer

Reputation: 1687

Reduce size of BsDatePicker

Is there anyway to reduce the size (height and width) of BsDatePicker?

https://valor-software.com/ngx-bootstrap/#/components/datepicker?tab=overview

I checked config properties but can't find one.

Upvotes: 0

Views: 66

Answers (1)

Alex Umanskiy
Alex Umanskiy

Reputation: 46

I'm not sure what exactly do you want to shrink, but you got a whole bunch of classes for datepicker available mostly you should be interested in bs-datepicker-head and bs-datepicker-body. Add required styles to your main styles.css and it will work like a charm, just note that there're min-width/min-height set.

Upvotes: 1

Related Questions