[英]MultiFieldPanel width in Wagtail and displayed name
I have the following MultiFieldPanel. 我有以下MultiFieldPanel。
class TeamRooster(Page):
staff = StreamField([
('staff', CardsBlock(Staff(), icon="plus")),
], blank=True)
content_panels = [
MultiFieldPanel(
[ StreamFieldPanel('staff') ],
heading="Staff", classname="col12"
),
three times " Staff " is too much. 三倍“ 员工 ”太多了。 I looked in the documentation and tried to delete the names but I have a bug.
我查看了文档,并试图删除名称,但是我有一个错误。
And how to change the width of MultiFieldPanel? 以及如何更改MultiFieldPanel的宽度? I tried to add
classname="full"
but it doesn't help me. 我试图添加
classname="full"
但对我没有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.