amis-rpc-design/node_modules/antd/lib/table/style/pagination.js

38 lines
878 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const genPaginationStyle = token => {
const {
componentCls,
antCls
} = token;
return {
[`${componentCls}-wrapper`]: {
// ========================== Pagination ==========================
[`${componentCls}-pagination${antCls}-pagination`]: {
margin: `${token.margin}px 0`
},
[`${componentCls}-pagination`]: {
display: 'flex',
flexWrap: 'wrap',
rowGap: token.paddingXS,
'> *': {
flex: 'none'
},
'&-left': {
justifyContent: 'flex-start'
},
'&-center': {
justifyContent: 'center'
},
'&-right': {
justifyContent: 'flex-end'
}
}
}
};
};
var _default = exports.default = genPaginationStyle;