Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Mar 24, 2024
1 parent e42c6f1 commit 6dcbba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions apps/forms/app/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
@tailwind components;
@tailwind utilities;

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

:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 255, 255, 255;
Expand Down
4 changes: 1 addition & 3 deletions apps/forms/scaffolds/grid/grid.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
"use client";

import React, { useEffect, useRef, useState } from "react";
import "react-data-grid/lib/styles.css";
import "./grid.css";

import DataGrid, {
Column,
RenderCellProps,
Expand Down Expand Up @@ -41,6 +38,7 @@ import { JsonEditCell } from "./json-cell";
import { useEditorState } from "../editor";
import { GFRow } from "./types";
import { SelectColumn } from "./select-column";
import "./grid.css";

function rowKeyGetter(row: GFRow) {
return row.__gf_id;
Expand Down

0 comments on commit 6dcbba1

Please sign in to comment.