【发布时间】:2017-11-26 13:04:34
【问题描述】:
已经在 css 中尝试了几个地方来覆盖 angular material 2 中现有的 sidenav 组件
mat-sidenav-container {
background: white;
bottom: 0px !important; /* <---- no help */
}
mat-sidenav {
width: 300px;
height: 500px;
padding-left:20px; /* Not sure why content goes out of range*/
bottom: 0px !important; /* <---- no help */
}
Trying to make sidenav content start from bottom in this example 但我似乎无法覆盖 angular material 2 提供的此组件中的任何内容
【问题讨论】:
标签: css angular angular-material2