From ca4ad498a4a52a50caeed1348b1d0e54a55c7006 Mon Sep 17 00:00:00 2001 From: soup Date: Fri, 6 Jan 2023 22:07:27 +0100 Subject: [PATCH] feat(web): settings cosmetic improvements (#621) * Minor cosmetic changes - Changed Feeds paragraph to include regular RSS feeds - Centered "Danger Zone" header on Settings/Releases - Added punctuations to subtitles and sublabes that were missing them - Removed some subtitles over "Create new" buttons in Settings * settings(releases) Added paragraph below header * Changed user and docs icons * Fixed Notifications table for narrow screens * Made Notifications-page dynamic like the IRC-page - Hiding notification type and events on smaller screens * Made API table look better on smaller screens - Adjusted col-spans - overflow-auto on name * overflow-hidden on name * Made Feeds dynamic like Notifications * Made Clients dynamic like Feeds and Notifications * name field will now truncate instead of span itself over multiple lines mouseovering the name will now show the full value mitigated scrollbars changes to col-span to move the name column closer to enabled switch adjusted paddings in desktop and mobile layout Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com> --- web/src/screens/Base.tsx | 12 ++++---- web/src/screens/filters/details.tsx | 32 ++++++++++----------- web/src/screens/settings/Api.tsx | 8 +++--- web/src/screens/settings/DownloadClient.tsx | 20 ++++++------- web/src/screens/settings/Feed.tsx | 20 ++++++------- web/src/screens/settings/Indexer.tsx | 2 +- web/src/screens/settings/Irc.tsx | 4 +-- web/src/screens/settings/Notifications.tsx | 20 ++++++------- web/src/screens/settings/Releases.tsx | 6 ++-- 9 files changed, 62 insertions(+), 62 deletions(-) diff --git a/web/src/screens/Base.tsx b/web/src/screens/Base.tsx index 11baa1b..020a591 100644 --- a/web/src/screens/Base.tsx +++ b/web/src/screens/Base.tsx @@ -1,8 +1,8 @@ import { Fragment } from "react"; import { Link, NavLink, Outlet } from "react-router-dom"; import { Disclosure, Menu, Transition } from "@headlessui/react"; -import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid"; -import { Bars3Icon, ChevronDownIcon, XMarkIcon } from "@heroicons/react/24/outline"; +import { BookOpenIcon, UserIcon } from "@heroicons/react/24/solid"; +import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline"; import { AuthContext } from "../utils/Context"; @@ -77,7 +77,7 @@ export default function Base() { )} > Docs -