chore: setting category

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-07-31 11:31:36 +08:00
parent d8a0f0e799
commit 0ae993baa5
2 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export const shortcuts = {
audio: {
"play/pause": {
name: "Play/Pause",
name: "Play/Pause (When the audio player is open)",
key: "Space",
},
},
@@ -57,11 +57,7 @@ export const SettingAppearance = () => {
!window.electron || !["macOS", "Linux"].includes(getOS()),
onChange: (value) => setUISetting("opaqueSidebar", value),
},
{
type: "title",
value: "UI",
},
TextSize,
{
type: "title",
value: "Unread count",
@@ -83,6 +79,7 @@ export const SettingAppearance = () => {
type: "title",
value: "Fonts",
},
TextSize,
UIFontSelector,
ContentFontSelector,
{
@@ -155,7 +152,7 @@ const TextSize = () => {
const uiTextSize = useUISettingSelector((state) => state.uiTextSize)
return (
<div className="mt-1 flex items-center justify-between">
<div className="-mt-1 mb-3 flex items-center justify-between">
<span className="shrink-0 text-sm font-medium">Text size</span>
<Select
defaultValue={textSizeMap.default.toString()}