UNPKG

@octopusdeploy/design-system-components

Version:
19 lines (18 loc) 682 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.dialogSidePanelBreakpoint = exports.dialogBreakpoints = void 0; //TODO:FTT - Proper approach to breakpoints needed exports.dialogBreakpoints = { laptop: "1024px", tablet: "769px", mobile: "375px", }; // Each breakpoint = dialog.mainPanel.width[token] + sidePanel width (400px) + 2 × 24px breathing room. // small: 480 + 400 + 48 = 928px → clamped to laptop (1024px) since it's below. // medium: 600 + 400 + 48 = 1048px // large: 800 + 400 + 48 = 1248px exports.dialogSidePanelBreakpoint = { small: exports.dialogBreakpoints.laptop, medium: "1048px", large: "1248px", };