@@ -49,6 +49,8 @@ function SettingComponent(props: Props) {
4949 const { view, setView } = useCardViewStore ( )
5050 const lastDeployed = useLastDeployed ( )
5151 const controlHeightClass = " h-6!"
52+ const fontClassXxs = "text-[0.5rem]"
53+
5254 return (
5355 < Dialog open = { open } onOpenChange = { setOpen }
5456
@@ -75,9 +77,9 @@ function SettingComponent(props: Props) {
7577 </ DialogDescription >
7678 </ DialogHeader >
7779 < Separator className = "bg-border" />
78- < div className = "flex flex-col gap-1 text-xs " >
79- < p className = "text-muted-foreground text-xs" > App Style</ p >
80- < div className = "flex justify-between items-center tex-sm " >
80+ < div className = "flex flex-col gap-1 " >
81+ < p className = { cn ( "text-muted-foreground " , fontClassXxs ) } > App Style</ p >
82+ < div className = "flex justify-between items-center text-xs " >
8183 Appearance
8284 < Select value = { theme } onValueChange = { ( value : ThemeMode ) => setTheme ( value ) } >
8385 < SelectTrigger className = { cn ( "text-xs" , controlHeightClass ) } >
@@ -147,8 +149,8 @@ function SettingComponent(props: Props) {
147149
148150 < Separator className = "bg-border" />
149151
150- < div className = "flex flex-col gap-2" >
151- < p className = "text-muted-foreground text-xs" > Card Style</ p >
152+ < div className = { cn ( "flex flex-col gap-1" , ) } >
153+ < p className = { cn ( "text-muted-foreground " , fontClassXxs ) } > Card Style</ p >
152154 < div className = "flex justify-between items-center text-xs" >
153155 Show Info
154156 < Select value = { info } onValueChange = { ( value : ShowInfo ) => setInfo ( value ) } >
@@ -214,8 +216,8 @@ function SettingComponent(props: Props) {
214216
215217 < Separator className = "bg-border" />
216218
217- < div className = "flex flex-col gap-2 " >
218- < p className = "text-muted-foreground text-xs" > My Profile</ p >
219+ < div className = "flex flex-col gap-1 " >
220+ < p className = { cn ( "text-muted-foreground " , fontClassXxs ) } > My Profile</ p >
219221 < div className = "flex justify-between items-center text-xs " >
220222 Profile
221223 < Link to = "/me" title = 'me' aria-label = "me-link" className = "text-primary" >
@@ -231,7 +233,7 @@ function SettingComponent(props: Props) {
231233
232234 < Separator className = "bg-border" />
233235 < div className = "flex flex-col gap-2" >
234- < p className = "text-muted-foreground text-xs" > Other</ p >
236+ < p className = { cn ( "text-muted-foreground " , fontClassXxs ) } > Other</ p >
235237 < div className = "flex justify-between items-center text-xs " >
236238 Recycle Bin
237239 < Suspense fallback = { < ButtonLoader /> } >
0 commit comments