Is there a way to vertically center a button next to matInput in Angular material? The submit button appears too low compared to the "First Name" input field, as shown in the images below:
https://i.sstatic.net/PZGAg.png https://i.sstatic.net/ZuxHc.png https://i.sstatic.net/bzw5K.png
Your response can be provided by forking my stackblitz project here: https://stackblitz.com/edit/angular-material-form-q8jcfe?file=app/my-form/my-form.component.css
The padding-bottom in this mat-form-field-wrapper is causing issues. I understand its purpose, but it's still problematic.
I am looking for a solution that doesn't involve arbitrary numbers for alignment purposes.
It seems like aligning a button adjacent to an input field should be a basic requirement, so why isn't there a straightforward method provided by Angular material or why hasn't this been addressed on Stack Overflow before?
The goal is to maintain a visually appealing layout at all times, even when the height of the input or button changes. The current arrangement looks subpar and lacks aesthetic consistency.