Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Label with XHTML Conten
Hi,
I've created a label which displays the content from a RichTextArea. The the ContentMode of the Label is CONTENT_XHTML.
In the attachment you can see that the label isn't displayed correctly when I chosse the text size XX-Large. Is there an option to display it among each other?
Source code is attachet to an attachment.
Julian
Use firebug or webinspector to see what CSS is applied to the label.
It looks like line-height is forced by some rule and mess up the rendering.
I had to add the following option to my css file. Now the content is shown correctly.
.v-label {
line-height: normal !important;
}