fix(web): download client table overflow, filter alerts, dubious wording (#521)

* fix table overflow in settings -> download client

* fixed uneven line height in CellLine component

* filters/details: rename "Cancel" to "Reset form values"
Added log level and log path to Application settings.
Added column truncation to Download Client settings.

* feat: change settings debug toggle wording

* fix: typo in irc add form
This commit is contained in:
stacksmash76 2022-11-10 12:27:09 +01:00 committed by GitHub
parent f811b80413
commit b6ba23d0ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 88 additions and 49 deletions

View file

@ -115,8 +115,7 @@ const CellLine = ({ title, children }: { title: string; children?: string; }) =>
return (
<div className="mt-0.5">
<span className="font-bold">{title}</span>
{": "}
<span className="font-bold">{title}: </span>
<span className="whitespace-pre-wrap break-words leading-5">{children}</span>
</div>
);

View file

@ -1,11 +1,14 @@
import { FC } from "react";
import { SettingsContext } from "../utils/Context";
interface DebugProps {
values: unknown;
}
const DEBUG: FC<DebugProps> = ({ values }) => {
if (process.env.NODE_ENV !== "development") {
const settings = SettingsContext.useValue();
if (process.env.NODE_ENV !== "development" || !settings.debug) {
return null;
}