Skip to content

Commit

Permalink
Overwrite tw height for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
aidoskanapyanov committed Jul 4, 2023
1 parent 7d4c327 commit b40dae5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
height: (theme) => ({
auto: "auto",
...theme("spacing"),
full: "100%",
screen: "calc(var(--vh) * 100)",
}),
minHeight: (theme) => ({
0: "0",
...theme("spacing"),
full: "100%",
screen: "calc(var(--vh) * 100)",
}),
extend: {
colors: {
background: "hsl(var(--background))",
Expand Down

0 comments on commit b40dae5

Please sign in to comment.