Syllabus/themes/piratecare/node_modules/tailwindcss/lib/plugins/wordBreak.js

31 lines
608 B
JavaScript
Raw Normal View History

2020-03-05 04:10:52 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _default() {
return function ({
addUtilities,
variants
}) {
addUtilities({
'.break-normal': {
'overflow-wrap': 'normal',
'word-break': 'normal'
},
'.break-words': {
'overflow-wrap': 'break-word'
},
'.break-all': {
'word-break': 'break-all'
},
'.truncate': {
overflow: 'hidden',
'text-overflow': 'ellipsis',
'white-space': 'nowrap'
}
}, variants('wordBreak'));
};
}