UNPKG

infinity-forge

Version:
14 lines 1.33 kB
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModalImage = void 0; var styled_components_1 = __importDefault(require("styled-components")); exports.ModalImage = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n\n img {\n width: 100%;\n height: auto;\n max-width: 1200px;\n max-height: 70vh;\n object-fit: contain;\n border-radius: 10px;\n overflow: hidden;\n }\n\n @media only screen and (max-width: 768px) {\n img {\n max-height: 80vh;\n }\n }\n"], ["\n position: relative;\n\n img {\n width: 100%;\n height: auto;\n max-width: 1200px;\n max-height: 70vh;\n object-fit: contain;\n border-radius: 10px;\n overflow: hidden;\n }\n\n @media only screen and (max-width: 768px) {\n img {\n max-height: 80vh;\n }\n }\n"]))); var templateObject_1; //# sourceMappingURL=styles.js.map