0
bozkan created
Hi,
Is it possible to place the button icon on the right for abp-button?
<abp-button iconClass="fa fa-save" [disabled]="form.invalid" [loading]="isProgress" > {{ 'AbpUi::Save' | abpLocalization }} </abp-button>
- ABP Framework version: v6
- UI Type: Angular
2 Answer(s)
-
0
Hello bozkan ,
- you can place the icon after label like below.
<abp-button buttonType="submit" formName="book"> {{ 'AbpUi::Save' | abpLocalization }} <i class="fa fa-check"></i> </abp-button>
- If you want to manage with classes don't want separate <i> tag then
<abp-button iconClass="fa fa-save float-end me-0 ms-2 custom-margin"> {{ 'AbpUi::Save' | abpLocalization }} </abp-button>
And add this in styles.css.custom-margin { margin-top: 0.2rem !important; }
Thanks,
- you can place the icon after label like below.
-
0
Hello bozkan ,
- you can place the icon after label like below.
<abp-button buttonType="submit" formName="book"> {{ 'AbpUi::Save' | abpLocalization }} <i class="fa fa-check"></i> </abp-button>
- If you want to manage with classes don't want separate <i> tag then
<abp-button iconClass="fa fa-save float-end me-0 ms-2 custom-margin"> {{ 'AbpUi::Save' | abpLocalization }} </abp-button>
And add this in styles.css.custom-margin { margin-top: 0.2rem !important; }
Thanks,
Thank you
- you can place the icon after label like below.