fix(style): also set `grid-column` in direct descendants of `Layout grid` when using presets from `width.ts`

This commit is contained in:
upsiflu 2025-02-10 10:49:15 +01:00
parent 0e4cef36a0
commit 0a56a12e91
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}