UNPKG

react-reflexible

Version:

Responsible component shift shaper!

8 lines (7 loc) 857 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var react_style_singleton_1 = require("react-style-singleton"); var style = react_style_singleton_1.stylesheetSinglentone(); var styles = "\n.react-reflexible {\n display: -ms-inline-flexbox;\n display: inline-flex;\n \n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n\n overflow: hidden;\n\n box-sizing: border-box;\n max-width: 100%;\n \n height: 1.5em;\n line-height: 1.5em;\n\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.react-reflexible-try {\n display: inline;\n /*flex-basis: 100%;*/\n}\n\n.react-reflexible-failback {\n display: block;\n overflow: hidden;\n\n flex-grow: 1;\n width: 0;\n\n text-overflow: ellipsis;\n}\n"; exports.addStyle = function () { return style.add(styles); }; exports.removeStyle = function () { return style.remove(); };