diff --git a/Web/src/assets/style/lib/list.less b/Web/src/assets/style/lib/list.less index 324a1ce..89e4a38 100644 --- a/Web/src/assets/style/lib/list.less +++ b/Web/src/assets/style/lib/list.less @@ -25,4 +25,7 @@ } } } + >.ant-pagination { + margin: @padding-md 0; + } } diff --git a/Web/src/assets/style/lib/table.less b/Web/src/assets/style/lib/table.less index 48ca825..335fbf5 100644 --- a/Web/src/assets/style/lib/table.less +++ b/Web/src/assets/style/lib/table.less @@ -125,6 +125,10 @@ } } } + + .ant-table-pagination { + float: none; + } } .yo-table-actions { diff --git a/Web/src/components/yoList/index.js b/Web/src/components/yoList/index.js index b532d75..68dd3d1 100644 --- a/Web/src/components/yoList/index.js +++ b/Web/src/components/yoList/index.js @@ -99,12 +99,21 @@ export default { - - {Object.keys(this.$slots).map((name) => ( - - ))} - - +
+ + {Object.keys(this.$slots).map((name) => ( + + ))} + + { + !!this.data && !!this.data.length && + } +
) },