I have a text and image that I want to align horizontally centred.
When I do this, 1 line of text is fine. But when there are 2 lines of text, the container element is stretched.
I’ve tried placing the text input element and image in a container but text doesn’t automatically centre vertically as the lines increase to 2 lines.
I’ve also tried to group the image and text input elements together.
The compromise I was able to accept was to increase the height of the text image to the same height as the image while there is misalignment with 1 line of text
Question - is there a way to automatically centre the text as the number of text lines increases?
Your font is quite simple, you can use fonts that attract more readers. For example, fonts like Aldrich, Alegreya,... can be found at the website https://fontesdeletras.io/