@media (max-width: 390px) { .cg-cat { --cg-catalog-legacy-columns: minmax(0, 1fr); --cg-catalog-mobile-rail-height: 128px; --cg-catalog-mobile-inspector-height: 180px; --cg-catalog-mobile-stage-height: 240px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(var(--cg-catalog-mobile-stage-height), 1fr) auto; overflow: auto; } .cg-cat-rail { max-height: var(--cg-catalog-mobile-rail-height); border-right: 0; border-bottom: var(--lp-hairline-width) solid var(--lp-line); } .cg-cat-insp { max-height: var(--cg-catalog-mobile-inspector-height); border-left: 0; border-top: var(--lp-hairline-width) solid var(--lp-line); } .cg-cat-bar { flex-wrap: wrap; } .cg-catalog-editor .cg-catalog-record-head h2 { flex: 1 0 100%; order: -1; overflow-wrap: anywhere; } .cg-catalog-workspace.has-templates { --cg-catalog-mobile-template-height: 160px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, var(--cg-catalog-mobile-template-height)) minmax(0, 1fr); } .cg-catalog-template-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }