Преглед на файлове

feat: update pagination size and enhance list item padding in Config components

Jacky преди 2 месеца
родител
ревизия
07aad48a39

+ 1 - 0
app/src/components/ConfigHistory/ConfigHistory.vue

@@ -152,6 +152,7 @@ const compareButtonText = computed(() => {
 
         <div class="history-footer">
           <StdPagination
+            size="small"
             :pagination
             :loading
             @change="changePage"

+ 6 - 0
app/src/views/site/site_edit/components/ConfigTemplate/ConfigTemplate.vue

@@ -122,5 +122,11 @@ async function add() {
 </template>
 
 <style lang="less" scoped>
+:deep(.ant-list-item) {
+  padding: 12px;
+}
 
+:deep(.ant-list-item:first-child) {
+  padding-top: 0;
+}
 </style>