first commit
This commit is contained in:
37
frontend/node_modules/antd/lib/table/style/ellipsis.js
generated
vendored
Normal file
37
frontend/node_modules/antd/lib/table/style/ellipsis.js
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _style = require("../../style");
|
||||
const genEllipsisStyle = token => {
|
||||
const {
|
||||
componentCls
|
||||
} = token;
|
||||
return {
|
||||
[`${componentCls}-wrapper`]: {
|
||||
[`${componentCls}-cell-ellipsis`]: Object.assign(Object.assign({}, _style.textEllipsis), {
|
||||
wordBreak: 'keep-all',
|
||||
// Fixed first or last should special process
|
||||
[`
|
||||
&${componentCls}-cell-fix-left-last,
|
||||
&${componentCls}-cell-fix-right-first
|
||||
`]: {
|
||||
overflow: 'visible',
|
||||
[`${componentCls}-cell-content`]: {
|
||||
display: 'block',
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis'
|
||||
}
|
||||
},
|
||||
[`${componentCls}-column-title`]: {
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
wordBreak: 'keep-all'
|
||||
}
|
||||
})
|
||||
}
|
||||
};
|
||||
};
|
||||
var _default = exports.default = genEllipsisStyle;
|
||||
Reference in New Issue
Block a user