diff --git a/commafeed-client/src/pages/app/AboutPage.tsx b/commafeed-client/src/pages/app/AboutPage.tsx
index dfc9a3bf..6b5ce96c 100644
--- a/commafeed-client/src/pages/app/AboutPage.tsx
+++ b/commafeed-client/src/pages/app/AboutPage.tsx
@@ -1,5 +1,5 @@
import { t, Trans } from "@lingui/macro"
-import { Anchor, Box, Center, Container, Group, List, NativeSelect, SimpleGrid, Title } from "@mantine/core"
+import { Anchor, Box, Center, Container, createStyles, List, NativeSelect, SimpleGrid, Title } from "@mantine/core"
import { Constants } from "app/constants"
import { redirectToApiDocumentation } from "app/slices/redirect"
import { useAppDispatch, useAppSelector } from "app/store"
@@ -8,13 +8,23 @@ import { KeyboardShortcutsHelp } from "components/KeyboardShortcutsHelp"
import React, { useState } from "react"
import { TbHelp, TbKeyboard, TbPuzzle, TbRocket } from "react-icons/tb"
+const useStyles = createStyles(() => ({
+ sectionTitle: {
+ display: "flex",
+ alignItems: "center",
+ },
+}))
+
function Section(props: { title: string; icon: React.ReactNode; children: React.ReactNode }) {
+ const { classes } = useStyles()
return (
-
-
- {props.icon}
- {props.title}
-
+
+
+ {props.icon}
+
+ {props.title}
+
+
{props.children}
)
@@ -105,9 +115,6 @@ export function AboutPage() {
- }>
-
-
}>
@@ -150,6 +157,9 @@ export function AboutPage() {
+ }>
+
+
}>
dispatch(redirectToApiDocumentation())}>
Go to the API documentation.