@layer components { .pattern_preview { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: calc(var(--spacing) * 2); .canvas_wrapper { flex: 1 0; canvas { width: 100%; height: 100%; } } } }