design(preview): match toggle button sizes to device toggles

This commit is contained in:
2026-06-12 15:00:40 -07:00
parent 6687b79bfd
commit 960232e525
8 changed files with 771 additions and 2127 deletions

View File

@@ -158,7 +158,10 @@ function renderDevCompose(projectSlug: string, projectId: string): string {
// process is actually listening on the port — Traefik does the
// health check.
const token = projectPreviewToken(projectId);
const traefikLabels: string[] = ['"traefik.enable=true"'];
const traefikLabels: string[] = [
'"traefik.enable=true"',
'"traefik.docker.network=coolify"',
];
for (let i = 0; i < PREVIEW_PORT_COUNT; i++) {
const port = PREVIEW_BASE_PORT + i;
const router = `vibn-dev-${projectSlug}-${i}`;