Lint files

This commit is contained in:
Sacha Weatherstone
2022-09-22 16:40:01 +10:00
parent 6e47087533
commit e280f4a1b4
35 changed files with 91 additions and 92 deletions
+3 -3
View File
@@ -23,13 +23,13 @@ export const AppConfig = (): JSX.Element => {
];
return (
<Tab.Group as="div" className="flex gap-3 w-full">
<Tab.List className="flex flex-col w-44 gap-1">
<Tab.Group as="div" className="flex w-full gap-3">
<Tab.List className="flex w-44 flex-col gap-1">
{configSections.map((Config, index) => (
<Tab key={index} as={Fragment}>
{({ selected }) => (
<div
className={`flex items-center px-3 py-2 text-sm font-medium rounded-md cursor-pointer ${
className={`flex cursor-pointer items-center rounded-md px-3 py-2 text-sm font-medium ${
selected
? "bg-gray-100 text-gray-900"
: "text-gray-600 hover:bg-gray-50 hover:text-gray-900"
+3 -3
View File
@@ -52,13 +52,13 @@ export const DeviceConfig = (): JSX.Element => {
];
return (
<Tab.Group as="div" className="flex gap-3 w-full">
<Tab.List className="flex flex-col w-44 gap-1">
<Tab.Group as="div" className="flex w-full gap-3">
<Tab.List className="flex w-44 flex-col gap-1">
{configSections.map((Config, index) => (
<Tab key={index} as={Fragment}>
{({ selected }) => (
<div
className={`flex items-center px-3 py-2 text-sm font-medium rounded-md cursor-pointer ${
className={`flex cursor-pointer items-center rounded-md px-3 py-2 text-sm font-medium ${
selected
? "bg-gray-100 text-gray-900"
: "text-gray-600 hover:bg-gray-50 hover:text-gray-900"
+3 -3
View File
@@ -45,13 +45,13 @@ export const ModuleConfig = (): JSX.Element => {
];
return (
<Tab.Group as="div" className="flex gap-3 w-full">
<Tab.List className="flex flex-col gap-1 w-44">
<Tab.Group as="div" className="flex w-full gap-3">
<Tab.List className="flex w-44 flex-col gap-1">
{configSections.map((Config, index) => (
<Tab key={index} as={Fragment}>
{({ selected }) => (
<div
className={`flex items-center px-3 py-2 text-sm font-medium rounded-md cursor-pointer ${
className={`flex cursor-pointer items-center rounded-md px-3 py-2 text-sm font-medium ${
selected
? "bg-gray-100 text-gray-900"
: "text-gray-600 hover:bg-gray-50 hover:text-gray-900"
+2 -2
View File
@@ -14,8 +14,8 @@ export const MapPage = (): JSX.Element => {
return (
<div className="flex-grow">
<div className="absolute z-10 right-0 top-0 m-2 rounded-md p-2 shadow-md bg-white">
<div className="font-medium text-lg p-1">Title</div>
<div className="absolute right-0 top-0 z-10 m-2 rounded-md bg-white p-2 shadow-md">
<div className="p-1 text-lg font-medium">Title</div>
<div className="flex flex-col gap-2">
{nodes.map((n) => (
<div key={n.data.num} className="flex gap-2">
+1 -1
View File
@@ -35,7 +35,7 @@ export const MessagesPage = (): JSX.Element => {
});
return (
<div className="flex flex-col w-full">
<div className="flex w-full flex-col">
<TabbedContent
tabs={tabs}
actions={[