如何调整自定义复合元素的宽度? (Drupal 9 WebForm)
我自定义的WebForm在复合材料中具有9个元素。由于它们太多了,因此复合材料超出了您将在下面看到的现场集。
这是复合的图片
我想缩小复合材料的大小并调整某些元素的宽度(例如量,因为它不应该占用那么多空间,也许可以使类型元素更宽)。
我沿着这个解决方案遵循此解决方案,但尺寸甚至不会改变 当我添加时
wrapper_attributes:
width: 20%
任何人都有调整复合元素宽度的经验吗?
A webform I am customizing has 9 elements in a composite. Since there are too many of them, the composite is exceeding the fieldset you will see below.
This is the picture of the composite
I would like to shrink the size of the composite and adjust the widths of some of the elements (like Amount since it shouldn't take that many space, and maybe make Type element wider).
I followed along this solution but the size would not change even when I added
wrapper_attributes:
width: 20%
Does anyone have experience with adjusting the widths of composite's elements ?
P.S. To be visual-friendly, here is where I added the code above
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
其他想法:更改CSS填充,边距或边界线。
Other Idea: Change in CSS padding, margin or border-line.