SpiceQA
Questions Tags Users Badges

How to give padding to the place holder 'Select Date' for Angular material date picker to align to middle of input box

user_13278833 0
Created Jul 28, 2020 Edited Jul 28, 2020
Viewed 263

Demo link for this issue, with css i tried

https://stackblitz.com/edit/angular-material-datepicker-p9y9ju?file=src%2Fapp%2Fdatepicker-formats-example%2Fdatepicker-formats-example.component.css

angular-material angular css
Share
1 Answers

Try this.

placeholder="          Select Date"

Or this.

.mat-input-element {
  padding-left: 40px;
}
edited Jul 28, 2020
user_139347660
answered Jul 28, 2020
Related
Terms of service Privacy policy
Powered by Answer