Hi
I have below code and i want button to appear on right side corner.
Code
FilterThanks
Hi
I have below code and i want button to appear on right side corner.
FilterThanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek ChadhaRank #402 · 6.2K reputationPosted Jun 10, 2024, 2:50 AM EDT
To place a button on the right side of the
, you can use thematSuffixdirective provided by Angular Material. Here's how you can modify your code:Ramco RamcoRank #462 · 5.4K reputationPosted Jun 11, 2024, 12:13 AM EDT
Hi
I wat that Add Product Button to appear on right side corner
Thanks
Abhishek ChadhaRank #402 · 6.2K reputationPosted Jun 11, 2024, 3:36 AM EDT
You can try the below one -
Add in your CSS -
.form-field-container { display: flex; align-items: center; } .mat-form-field-wrapper { flex-grow: 1; display: flex; align-items: center; } .mat-form-field-flex { flex-grow: 1; }