Placeholder height problems. | Community
Skip to main content
New Participant
Dec 19, 2023 4:59 PM UTC
Question

Placeholder height problems.

I have problems with the appearance of the components placeholders.

When I add on the frontend this general styling, all placeholders have a wrong height:

html, body { font-size:10px; }


For reasons of integration I have to make this change.

Do you have any ideas how could I add this rule keeping the placeholders look good?
I think the placeholders should have proper styling and not depend on the general appearance of the content.


BEFORE:


AFTER:

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

New Participant
Dec 19, 2023 7:21 PM UTC


You can create a custom clientlib css to change the placeholder css code through the class:

 

Translate
Havana9Author
New Participant
Dec 20, 2023 8:50 AM UTC

If I add some custom heights the position in not recalculated so the placeholder appear in the wrong position

Translate
New Participant
Dec 20, 2023 6:37 PM UTC

You can adjust the margin so that it appears the way you prefer.

Translate