Start consistancy fixing

This commit is contained in:
Sacha Weatherstone
2022-03-01 22:19:57 +11:00
parent 115ff9d4bf
commit 4dc39623dc
31 changed files with 404 additions and 395 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export const FileBrowser = (): JSX.Element => {
{data?.data.files.map((file) => (
<div
key={file.name}
className="flex h-10 w-full border-b border-gray-300 px-4 font-medium dark:border-gray-600 dark:text-white"
className="flex h-10 w-full border-b border-gray-400 px-4 font-medium dark:border-gray-600 dark:text-white"
>
<div className="my-auto w-1/3">
<a
+3 -2
View File
@@ -1,10 +1,11 @@
import type React from 'react';
import { FiClipboard, FiRefreshCw } from 'react-icons/fi';
import { FiRefreshCw } from 'react-icons/fi';
import JSONPretty from 'react-json-pretty';
import { IconButton } from '@app/components/generic/button/IconButton';
import { Card } from '@app/components/generic/Card';
import { CopyButton } from '@app/components/menu/buttons/CopyButton';
import { Hashicon } from '@emeraldpay/hashicon-react';
import { useAppSelector } from '@hooks/useAppSelector';
@@ -40,7 +41,7 @@ export const Info = (): JSX.Element => {
<Card
title="Debug Information"
className="flex-grow"
actions={<IconButton icon={<FiClipboard />} />}
actions={<CopyButton data={JSON.stringify(hardwareInfo)} />}
>
<JSONPretty className="overflow-y-auto" data={hardwareInfo} />
</Card>
+1 -9
View File
@@ -87,21 +87,13 @@ export const Logs = (): JSX.Element => {
)}
{meshtasticState.logs.map((log, index) => (
// <ContextMenu
// key={index}
// items={
// <>
// <ContextItem title="Test" icon={<FiGitBranch />} />
// </>
// }
// >
<m.tr
key={index}
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{ duration: 0.3 }}
className="group hover:bg-gray-200 dark:hover:bg-secondaryDark"
className="group hover:bg-gray-300 dark:hover:bg-secondaryDark"
>
<m.td
className="w-6 cursor-pointer"