Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
We are currently using the Classic UI and preparing to migrate to Touch UI.
During this we observed, that the height of the placeholders of our components or the drag and drop area looks incorrect. If we compare to we-retail example pages, the issues does not happen there.
Correct on We-Retail:
Wrong height in our pages:
Technical investigation showed, that the height of the placeholder is 28,75px instead of 40px in we-retail. The div height is calculated and set as inline style.
Contacts to Adobe Consulting showed, that this happens also for others. But has anyone solved the same behavior?
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
It mainly happens because of CSS when div tag contains global styling as follows.
div{
height: 100px;
}
try to apply class-specific CSS to avoid such issues.
or you can also write some custom CSS for clientlib categories named cq.authoring.editor.core
It mainly happens because of CSS when div tag contains global styling as follows.
div{
height: 100px;
}
try to apply class-specific CSS to avoid such issues.
or you can also write some custom CSS for clientlib categories named cq.authoring.editor.core
@Suraj_Kamdi, thanks for that hint.
We found with that idea that the global font definition has influence on the placeholder height:
html {
font-family: Arial;
font-size: 62.5%;
}
So font-size: 62.5% reduces the height of the placeholders accordingly.
Zugriffe
Antworten
Likes gesamt
Someone found a solution keeping font-size on html tag? I need to keep that but in that case placeholders have a wrong height. I think the placeholder should have a stand-alone graphic not related to root tag.
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten