Skip to content

Mud inputs doesn't align centered #1792

Answered by porkopek
mckaragoz asked this question in Q&A
Discussion options

You must be logged in to vote

What you are aligning in the center is not the text of the TextField, is the whole TextField, that is centered.

Do you want to have a label element side by side with the TextField?
Try to align the label text with the TextField text, not the contrary.

See this example
https://try.mudblazor.com/snippet/mYQlaUYzUSaxLUAQ

But in Material-land, usually, you use the label provided by the TextField

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

mckaragoz
Jun 5, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mckaragoz
Comment options

mckaragoz Jun 5, 2021
Collaborator Author

Answer selected by mckaragoz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #1784 on June 05, 2021 21:23.