跳到主要内容
ArcBlock Community

Extra "padding" showing in custom component.

Twelve
支持
pages-kitdiscussionqa

I have a "divder" custom component. It is just a bar that goes across the screen. On my page it looks like this, which is correct.

green.jpg

However when I bring it up in the pages editor it shows the bar with an additional white strip underneath it, which is not correct. Prior to the update it did not show up with the white bar underneath it.

with white.jpg

Here is the image from component preview. It does not have a white bar underneath it.

preview.jpg

4 条回复

JustHODL21个月前

I think this is to be able to see top and bottom '+' buttons. I think maybe applying some hover effect to show them when hover would be cool cuz I agree that it doesn't let you visualize the page as it is while you are building.

Twelve21个月前

Thanks that makes sense. It is a bit confusing especially for a new person.

xiaoliang21个月前

The minimum height has been added to make it easier to maintain the Section. Some components may have too small a height or no height at all (such as displaying a fixed element on the page), which would make the Section uneditable.

We recommend the Preview Draft feature, which allows you to preview the edited page and is updated in real time.

Twelve21个月前

Thank you!

回复