From e77c879f488cdc267c85438d54eb88e805efdc0b Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 20 Jun 2024 11:53:13 -0400 Subject: start adding mobile breakpoints --- src/components/Layout.tsx | 4 ++-- tailwind.config.js | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 3d3747d..6daf865 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -12,7 +12,7 @@ export default function Layout ({userData}: userData) return ( <>
- diff --git a/tailwind.config.js b/tailwind.config.js index 1e61280..74d0251 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,6 +5,13 @@ export default { './src/**/*.{js,ts,jsx,tsx}', ], theme: { + screens: { + 'dsm': {'max':'640px'}, + 'dmd': {'max':'768px'}, + 'dlg': {'max':'1024px'}, + 'dxl': {'max':'1280px'}, + 'd2xl': {'max':'1536px'} + }, extend: { backgroundImage: { 'star': "url('/star.png')", -- cgit v1.2.3