Skip to content

Commit

Permalink
styles: add media queries for smaller screen
Browse files Browse the repository at this point in the history
  • Loading branch information
TejasShekar committed Jun 14, 2022
1 parent 76b4d36 commit 8e42548
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
screens: {
xs: {min: "310px"},
// => @media (min-width: 640px and max-width: 767px) { ... }

sm: {min: "640px"},
// => @media (min-width: 640px and max-width: 767px) { ... }

md: {min: "768px"},
// => @media (min-width: 768px and max-width: 1023px) { ... }

lg: {min: "1024px"},
// => @media (min-width: 1024px and max-width: 1279px) { ... }

xl: {min: "1280px"},
// => @media (min-width: 1280px and max-width: 1535px) { ... }

"2xl": {min: "1536px"},
// => @media (min-width: 1536px) { ... }
},
extend: {},
},
plugins: [],
}
};

0 comments on commit 8e42548

Please sign in to comment.