How to change (in css-styles) the width of caption area in textfield?

Any suggestions? Currently the text on the left side of my textfields goes behind some of the actual text field if it’s a too long word.

Hello Vesa,

Could you please provide a simple example code that shows how you can reproduce this behavior? The problem sounds a bit unusual to me. I suppose you are using FormLayout to render your captions next to the actual text input field?

Regards,
Matti

Yes. Actually I found the solution already. I changed in styles.css as follows:

.frontpage .v-caption {
…unrelated stuff…
width 15%
…unrelated stuff…
}

the width was 13 so it was a bit too little for some of the captions in the FormLayout. That fixed it :slight_smile: