If you insert a text tag in CF7 on a site, set up to US English, it looks like this:
If you have a site set to German (for example), the button changes its text to "Tag einfügen" and is a little bit longer, but the text input field has still a fixed width of 510 pixels, so it ends up like this:
I think this could be fixed with one more DIV and a little bit of CSS:
Unfortunately this breaks some JS code which is populating the input field. If I find the reason for it and can adjust this JS, I can provide a PR for this.
If you insert a text tag in CF7 on a site, set up to US English, it looks like this:![Bildschirmfoto 2024-07-03 um 09 01 22](https://github.com/rocklobster-in/contact-form-7/assets/870475/f7f793d7-a23e-4c72-9712-85af107db77b)
If you have a site set to German (for example), the button changes its text to "Tag einfügen" and is a little bit longer, but the text input field has still a fixed width of 510 pixels, so it ends up like this:![Bildschirmfoto 2024-07-03 um 09 00 53](https://github.com/rocklobster-in/contact-form-7/assets/870475/4bdb3f0d-d239-41a5-b033-7366a538d5fe)
I think this could be fixed with one more DIV and a little bit of CSS:
The input field and the button need to be wrapped in a new DIV, so we can use flexbox to group them better:
Unfortunately this breaks some JS code which is populating the input field. If I find the reason for it and can adjust this JS, I can provide a PR for this.
After modifying the HTML/CSS it looks like this:![Bildschirmfoto 2024-07-03 um 09 30 07](https://github.com/rocklobster-in/contact-form-7/assets/870475/3f536aca-902b-4a6c-bd38-941d1f8c4941)