调整< nz-date-picker>(Ng-Zorro)宽度 [英] Adjust <nz-date-picker> (Ng-Zorro) width
问题描述
我正在使用Ng-Zorro进行模板样式设计,并且当前正在实现一个日期选择器,我希望其与下拉菜单上方的位置齐平.
我想手动调整模板中日期选择器的宽度,但是我看到了这个
也许您需要先设置< nz-date-picker>
display:block
然后设置 span class ="ant-calendar-picker"
width:100%
希望这对您有帮助.
I'm using Ng-Zorro for template styling and am currently implementing an date picker, which I would like to have sitting flush with the dropdown menu above it.
I'd like to manually adjust the width of the date-picker within the template, but I'm seeing this link saying that the width cannot be adjusted...
Trying out html in-line styling did not do anything, so now I'm curious if anyone has been able to readjust the width of the nz-date-picker with Ng-Zorro.
May be you need to set the <nz-date-picker>
display:block
first
then set the span class="ant-calendar-picker"
width:100%
hope this could help u.
这篇关于调整< nz-date-picker>(Ng-Zorro)宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!