Browse Source
Merge pull request #20161 from abpframework/btn-sm
Add `btn-sm` class to single button.
pull/20169/head
liangshiwei
2 years 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.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js
|
|
@ -90,7 +90,7 @@ var abp = abp || {}; |
|
|
return ""; |
|
|
return ""; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var $button = $('<button type="button" class="btn btn-primary abp-action-button"></button>'); |
|
|
var $button = $('<button type="button" class="btn btn-primary btn-sm abp-action-button"></button>'); |
|
|
|
|
|
|
|
|
if (firstItem.displayNameHtml) { |
|
|
if (firstItem.displayNameHtml) { |
|
|
$button.html(abp.utils.isFunction(firstItem.text) ? firstItem.text(record, tableInstance) : firstItem.text); |
|
|
$button.html(abp.utils.isFunction(firstItem.text) ? firstItem.text(record, tableInstance) : firstItem.text); |
|
|
|