Files
pterodactyl-panel/resources/scripts/components/elements/codemirror/layout.ts
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

6 lines
259 B
TypeScript

export const editorContainerClass = [
'relative h-[50dvh] min-h-64 overflow-hidden',
'sm:h-[calc(100dvh-22rem)] sm:min-h-80 lg:h-[calc(100dvh-20rem)]',
'[&>.cm-editor]:h-full [&>.cm-editor]:overflow-hidden [&>.cm-editor]:rounded-sm',
].join(' ');