Skip to content

Commit

Permalink
Merge pull request #82 from Vyntrix/master
Browse files Browse the repository at this point in the history
fix: grid-rows reference
  • Loading branch information
developer-1px authored Jan 2, 2025
2 parents 615566b + 873f33a commit 1921c22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vite/docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;",


Expand Down

0 comments on commit 1921c22

Please sign in to comment.