Skip to content

Commit a66589c

Browse files
committed
improve form-count style in pagination
1 parent ea3400a commit a66589c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/VirtoCommerce.Platform.Web/wwwroot/css/themes/main/sass/modules/_base-modules.sass

+5-4
Original file line numberDiff line numberDiff line change
@@ -1921,10 +1921,11 @@ tags-input
19211921
transform: translateY(16%)
19221922
font-weight: 500
19231923
.blade-static .pagination
1924-
border: none
1925-
margin: 0
1926-
padding: 0
1927-
text-align: left
1924+
display: flex
1925+
align-items: center
1926+
gap: 12px
1927+
.blade-static .form-count-pagination
1928+
font-size: 14px
19281929
.blade-static .btn + .btn
19291930
margin: 0 0 0 15px
19301931
.blade-static.__expanded

src/VirtoCommerce.Platform.Web/wwwroot/js/app/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ angular.module('platformWebApp', AppDependencies).controller('platformWebApp.app
453453

454454

455455
// cache application level templates
456-
$templateCache.put('pagerTemplate.html', '<div class="pagination"><pagination boundary-links="true" max-size="pageSettings.numPages" items-per-page="pageSettings.itemsPerPageCount" total-items="pageSettings.totalItems" ng-model="pageSettings.currentPage" class="pagination-sm" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination> <p class="form-count">{{\'platform.list.count\' | translate}}: <span class="count">{{pageSettings.totalItems | number:0}}</span></p></div>');
456+
$templateCache.put('pagerTemplate.html', '<div class="pagination"><pagination boundary-links="true" max-size="pageSettings.numPages" items-per-page="pageSettings.itemsPerPageCount" total-items="pageSettings.totalItems" ng-model="pageSettings.currentPage" class="pagination-sm" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination> <p class="form-count-pagination">{{\'platform.list.count\' | translate}}: <span class="count">{{pageSettings.totalItems | number:0}}</span></p></div>');
457457

458458
gridsterConfig.columns = 4;
459459
gridsterConfig.colWidth = 130;

0 commit comments

Comments
 (0)