diff --git a/packages/vite/docs/Reference.md b/packages/vite/docs/Reference.md index 200cd72..52086f6 100644 --- a/packages/vite/docs/Reference.md +++ b/packages/vite/docs/Reference.md @@ -493,6 +493,12 @@ export const RULES:Rules = { else if (value) css.push(`grid-template-columns:${value};`) return css.join("") }, + "grid-rows": (value) => { + const css = ["display:grid;"] + if (+value === +value) css.push(`grid-template-rows:repeat(${value},1fr);`) + else if (value) css.push(`grid-template-rows:${value};`) + return css.join("") + }, "inline-grid": () => "display:inline-grid;",