javascript - Angular Material Date Picker Size -


i've been trying use material datepicker, when come large screens picker format blows (see image). how limit size of picker container works correctly when screen set smaller sizes. makes sense set never gets larger given number of pixels can't work out/find css tags this.this full width of screen

my html of picker copied demo:

 <md-content layout-padding>     <div layout-gt-xs="row">       <div flex-gt-xs>         <h4>standard date-picker</h4>         <md-datepicker ng-model="mydate" md-placeholder="enter date"></md-datepicker>       </div>     </div>     </md-content> 

trying css yields no results

.md-datepicker-input-container {   width: 50%;   margin-left: 0px; } 

i have run issue.

somewhere in css tables' width set 100%

table {     width:100%; } 

when removed that, md-datepicker stopped acting weird.


Comments

Popular posts from this blog

sql - MySQL - Finding Empty relations -

unity3d - Rotate an object to face an opposite direction -

Upload file with tags through OwnCloud or NextCloud API -