From 0a56a12e91b38b85d209206a80072f326f53908f Mon Sep 17 00:00:00 2001 From: upsiflu Date: Mon, 10 Feb 2025 10:49:15 +0100 Subject: [PATCH] fix(style): also set `grid-column` in direct descendants of `Layout grid` when using presets from `width.ts` --- front/src/components/ui/Layout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/components/ui/Layout.vue b/front/src/components/ui/Layout.vue index 5c4db11f3..6c1fc859f 100644 --- a/front/src/components/ui/Layout.vue +++ b/front/src/components/ui/Layout.vue @@ -90,7 +90,7 @@ const attributes = computed(() => ({ place-content: center; } - &[layout=grid], &[layout=grid-custom] > * { + &[layout=grid] > *, &[layout=grid-custom] > * { /* Set this global variable through `width` */ grid-column: var(--grid-column); }