first commit
This commit is contained in:
45
frontend/node_modules/antd/es/table/style/rtl.js
generated
vendored
Normal file
45
frontend/node_modules/antd/es/table/style/rtl.js
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
const genStyle = token => {
|
||||
const {
|
||||
componentCls
|
||||
} = token;
|
||||
return {
|
||||
[`${componentCls}-wrapper-rtl`]: {
|
||||
direction: 'rtl',
|
||||
table: {
|
||||
direction: 'rtl'
|
||||
},
|
||||
[`${componentCls}-pagination-left`]: {
|
||||
justifyContent: 'flex-end'
|
||||
},
|
||||
[`${componentCls}-pagination-right`]: {
|
||||
justifyContent: 'flex-start'
|
||||
},
|
||||
[`${componentCls}-row-expand-icon`]: {
|
||||
float: 'right',
|
||||
'&::after': {
|
||||
transform: 'rotate(-90deg)'
|
||||
},
|
||||
'&-collapsed::before': {
|
||||
transform: 'rotate(180deg)'
|
||||
},
|
||||
'&-collapsed::after': {
|
||||
transform: 'rotate(0deg)'
|
||||
}
|
||||
},
|
||||
[`${componentCls}-container`]: {
|
||||
'&::before': {
|
||||
insetInlineStart: 'unset',
|
||||
insetInlineEnd: 0
|
||||
},
|
||||
'&::after': {
|
||||
insetInlineStart: 0,
|
||||
insetInlineEnd: 'unset'
|
||||
},
|
||||
[`${componentCls}-row-indent`]: {
|
||||
float: 'right'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
export default genStyle;
|
||||
Reference in New Issue
Block a user