修改:装修组件 - 菜单按钮组件 - 单个按钮宽度由固定值修改为根据一行数量来计算平均数
This commit is contained in:
parent
4f84265dae
commit
c289076d49
Binary file not shown.
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 9.8 KiB |
|
|
@ -78,7 +78,7 @@ const css = function () {
|
|||
}
|
||||
|
||||
.component-${this.id} .button-box li{
|
||||
width: ${button_number == 4?'25':'20'}%;
|
||||
width: ${100 / button_number}%;
|
||||
}
|
||||
|
||||
.component-${this.id} .button-img{
|
||||
|
|
|
|||
Loading…
Reference in New Issue