From a2fc1d73ddd0b6ac54cf17827d03ce7e90c3095a Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Mon, 16 Aug 2021 13:59:22 +0800 Subject: [PATCH] Fix some style issues --- frontend/src/App/notification.scss | 4 ++-- frontend/src/System/Releases/index.tsx | 2 +- frontend/src/System/Status/index.tsx | 1 + frontend/src/System/Status/style.scss | 3 +++ frontend/src/System/Status/table.tsx | 2 ++ 5 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 frontend/src/System/Status/style.scss diff --git a/frontend/src/App/notification.scss b/frontend/src/App/notification.scss index 226c9bb71..88f73d6b4 100644 --- a/frontend/src/App/notification.scss +++ b/frontend/src/App/notification.scss @@ -18,8 +18,8 @@ .dropdown-menu { max-width: 20rem; - max-height: 40rem; - overflow-y: scroll; + max-height: 85vh; + overflow-y: auto; } $content-width: 16rem; diff --git a/frontend/src/System/Releases/index.tsx b/frontend/src/System/Releases/index.tsx index 1e4cb857f..8662840e3 100644 --- a/frontend/src/System/Releases/index.tsx +++ b/frontend/src/System/Releases/index.tsx @@ -11,7 +11,7 @@ const ReleasesView: FunctionComponent = () => { const releases = useSystemReleases(); return ( - + Releases - Bazarr (System) diff --git a/frontend/src/System/Status/index.tsx b/frontend/src/System/Status/index.tsx index 9db1380ef..44573f6ef 100644 --- a/frontend/src/System/Status/index.tsx +++ b/frontend/src/System/Status/index.tsx @@ -12,6 +12,7 @@ import { Helmet } from "react-helmet"; import { useSystemHealth, useSystemStatus } from "../../@redux/hooks"; import { AsyncOverlay } from "../../components"; import { GithubRepoRoot } from "../../constants"; +import "./style.scss"; import Table from "./table"; interface InfoProps { diff --git a/frontend/src/System/Status/style.scss b/frontend/src/System/Status/style.scss new file mode 100644 index 000000000..b3f9bbe50 --- /dev/null +++ b/frontend/src/System/Status/style.scss @@ -0,0 +1,3 @@ +.status-issue { + min-width: 16rem; +} diff --git a/frontend/src/System/Status/table.tsx b/frontend/src/System/Status/table.tsx index b157d9378..254600deb 100644 --- a/frontend/src/System/Status/table.tsx +++ b/frontend/src/System/Status/table.tsx @@ -16,6 +16,7 @@ const Table: FunctionComponent = ({ health }) => { { Header: "Issue", accessor: "issue", + className: "status-issue", }, ], [] @@ -23,6 +24,7 @@ const Table: FunctionComponent = ({ health }) => { return (