UNPKG

@drieam/common

Version:

Default Drieam api wrapper

40 lines (26 loc) 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.ImgEle = void 0; var _styledComponents = _interopRequireDefault(require("styled-components")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _templateObject2() { var data = _taggedTemplateLiteral(["\n flex: 0 0 62.5%;\n width: 62.5%;\n padding-right: 152px;\n zoom: 1;\n\n &::before,\n &::after {\n content: ' ';\n display: table;\n }\n &::after {\n clear: both;\n height: 0;\n font-size: 0;\n visibility: hidden;\n }\n"]); _templateObject2 = function _templateObject2() { return data; }; return data; } function _templateObject() { var data = _taggedTemplateLiteral(["\n float: right;\n width: 100%;\n max-width: 430px;\n height: 360px;\n background-repeat: no-repeat;\n background-position: 50% 50%;\n background-size: contain;\n"]); _templateObject = function _templateObject() { return data; }; return data; } function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } var ImgEle = _styledComponents.default.div(_templateObject()); exports.ImgEle = ImgEle; var _default = _styledComponents.default.div(_templateObject2()); exports.default = _default;