forked from rDrama/rDrama
27 lines
517 B
JavaScript
27 lines
517 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
function _default() {
|
|
return function ({
|
|
addUtilities,
|
|
variants
|
|
}) {
|
|
addUtilities({
|
|
'.truncate': {
|
|
overflow: 'hidden',
|
|
'text-overflow': 'ellipsis',
|
|
'white-space': 'nowrap'
|
|
},
|
|
'.overflow-ellipsis': {
|
|
'text-overflow': 'ellipsis'
|
|
},
|
|
'.overflow-clip': {
|
|
'text-overflow': 'clip'
|
|
}
|
|
}, variants('textOverflow'));
|
|
};
|
|
} |