fix bug with development server and some dark mode issues

This commit is contained in:
anovazzi1 2023-06-08 16:15:51 -03:00
commit 1318a813b2
3 changed files with 1187 additions and 17 deletions

File diff suppressed because it is too large Load diff

View file

@ -78,6 +78,8 @@
},
"proxy": "http://127.0.0.1:7860",
"devDependencies": {
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.62",
"@tailwindcss/typography": "^0.5.9",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",

View file

@ -153,12 +153,12 @@ export default function EditNodeModal({ data }: { data: NodeDataType }) {
)
.map((n, i) => (
<TableRow key={i} className="h-8">
<TableCell className="p-0 text-center text-gray-900 text-xs">
<TableCell className="p-0 text-center text-gray-900 text-xs dark:text-gray-300">
{data.node.template[n].name
? data.node.template[n].name
: data.node.template[n].display_name}
</TableCell>
<TableCell className="p-0 text-center text-gray-900 text-xs w-[300px]">
<TableCell className="p-0 text-center text-gray-900 text-xs w-[300px] dark:text-gray-300">
{data.node.template[n].type === "str" &&
!data.node.template[n].options ? (
<div className="mx-auto">