Skip to content

Commit

Permalink
Add Tailwind extension for screen height on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerra committed Sep 9, 2024
1 parent ac58c7d commit 467a440
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ module.exports = {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-require-imports": "off",
},
};
3 changes: 3 additions & 0 deletions web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ module.exports = {
highlight: "#304CD1",
alt: "rgba(48, 76, 209, 0.1)",
},
height: {
screen: ["100vh", "100svh"],
},
},
},
plugins: [require("@tailwindcss/line-clamp")],
Expand Down

0 comments on commit 467a440

Please sign in to comment.