Browse Source
Merge pull request #23246 from gdlcf88/patch-10
Use `btn-outline-secondary` for Cancel buttons
pull/23250/head
maliming
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalFooterTagHelperService.cs
|
|
|
@ -96,7 +96,7 @@ public class AbpModalFooterTagHelperService : AbpTagHelperService<AbpModalFooter |
|
|
|
element.Attributes.Add("type", "button"); |
|
|
|
element.Attributes.Add("data-bs-dismiss", "modal"); |
|
|
|
element.AddCssClass("btn"); |
|
|
|
element.AddCssClass("btn-outline-primary"); |
|
|
|
element.AddCssClass("btn-outline-secondary"); |
|
|
|
element.InnerHtml.Append(_localizer["Cancel"]); |
|
|
|
|
|
|
|
return element.ToHtmlString(); |
|
|
|
|