remove bold font and replace notistack to save flash

This commit is contained in:
proddy
2023-03-11 09:22:55 +01:00
parent 8cbae88dc3
commit cc5a28ca14
10 changed files with 75 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
import { FC, useEffect, useState } from 'react';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.minimal.css';
import { ToastContainer, Slide } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.min.css';
import CustomTheme from 'CustomTheme';
import AppRouting from 'AppRouting';
@@ -31,12 +31,13 @@ const App: FC = () => {
autoClose={2000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
closeOnClick={false}
rtl={false}
pauseOnFocusLoss
pauseOnFocusLoss={false}
draggable={false}
pauseOnHover
theme="dark"
pauseOnHover={false}
transition={Slide}
theme="light"
/>
</CustomTheme>
</TypesafeI18n>

View File

@@ -50,8 +50,7 @@ const ManageUsersForm: FC = () => {
color: #90CAF9;
.th {
padding: 8px;
height: 42px;
font-weight: 500;
height: 36px;
border-bottom: 1px solid #565656;
}
`,

View File

@@ -120,8 +120,6 @@ const DashboardData: FC = () => {
&.tr.tr-body.row-select.row-select-single-selected {
background-color: #3d4752;
color: white;
font-weight: normal;
}
&:hover .td {
@@ -158,8 +156,7 @@ const DashboardData: FC = () => {
HeaderRow: `
.th {
padding: 8px;
height: 42px;
font-weight: 500;
height: 36px;
`
}
]);
@@ -182,7 +179,7 @@ const DashboardData: FC = () => {
`,
HeaderRow: `
.th {
height: 32px;
height: 86px;
}
`,
Row: `

View File

@@ -108,8 +108,7 @@ const DashboardStatus: FC = () => {
color: #90CAF9;
.th {
height: 42px;
font-weight: 500;
height: 36px;
border-bottom: 1px solid #565656;
}
`,

View File

@@ -102,8 +102,7 @@ const SettingsCustomization: FC = () => {
.th {
border-bottom: 1px solid #565656;
font-weight: 500;
height: 32px;
height: 36px;
}
&:nth-of-type(1) .th {
@@ -122,8 +121,6 @@ const SettingsCustomization: FC = () => {
&.tr.tr-body.row-select.row-select-single-selected {
background-color: #3d4752;
color: white;
font-weight: normal;
}
&:hover .td {

View File

@@ -128,7 +128,6 @@ const SettingsScheduler: FC = () => {
color: #90CAF9;
.th {
border-bottom: 1px solid #565656;
font-weight: 500;
height: 36px;
}
`,
@@ -140,11 +139,6 @@ const SettingsScheduler: FC = () => {
border-top: 1px solid #565656;
border-bottom: 1px solid #565656;
}
&.tr.tr-body.row-select.row-select-single-selected {
background-color: #3d4752;
color: white;
font-weight: normal;
}
&:hover .td {
border-top: 1px solid #177ac9;
border-bottom: 1px solid #177ac9;