How do you change the size of a size of an angular ui bootstrap date picker popup?

前端 未结 1 1709
执笔经年
执笔经年 2021-02-20 14:12

Here\'s what I\'m referring to: http://angular-ui.github.io/bootstrap/

I don\'t see anything that indicates how to control the size. I tried changing the body font but

1条回答
  •  Happy的楠姐
    2021-02-20 15:08

    This size of the datepicker can be changed by overriding the css for the bootstrap form-control and btn classes as shown in the following example:

    .my-datepicker .form-control {
        height: 10px;
        padding: 11px;
    }
    
    .my-datepicker .btn {
        padding: 1px 2px;
    }
    

    then apply the my-datepicker class to the datepicker input-group

    
        
         
    
    

    0 讨论(0)
提交回复
热议问题