Skip to content

Commit

Permalink
fix: breaking change in react-data-table nesting styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhenry committed Mar 28, 2024
1 parent ebeb118 commit 2f30f8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
plugins: {
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
},
Expand Down
1 change: 0 additions & 1 deletion app/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ThemeProvider as NextThemeProvider } from 'next-themes';
import type { AppProps } from 'next/app';
import 'react-data-grid/lib/styles.css';
import '../styles/globals.css';

import {
Expand Down
3 changes: 3 additions & 0 deletions app/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

/* add here - see https://github.com/adazzle/react-data-grid/issues/3460#issuecomment-2016837753 */
@import 'react-data-grid/lib/styles.css';

0 comments on commit 2f30f8b

Please sign in to comment.