File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,15 @@ export const SettingsHeader: FC<SettingsHeaderProps> = ({
16
16
className,
17
17
} ) => {
18
18
return (
19
- < hgroup className = "flex flex-row justify-between align-baseline " >
19
+ < hgroup className = "flex flex-col justify-between items-start gap-2 pb-6 sm:flex-row " >
20
20
{ /*
21
21
* The text-sm class is only meant to adjust the font size of
22
22
* SettingsDescription, but we need to apply it here. That way,
23
23
* text-sm combines with the max-w-prose class and makes sure
24
24
* we have a predictable max width for the header + description by
25
25
* default.
26
26
*/ }
27
- < div className = { cn ( "text-sm max-w-prose pb-6" , className ) } >
28
- { children }
29
- </ div >
27
+ < div className = { cn ( "text-sm max-w-prose" , className ) } > { children } </ div >
30
28
{ actions }
31
29
</ hgroup >
32
30
) ;
@@ -83,7 +81,7 @@ export const SettingsHeaderTitle: FC<SettingsHeaderTitleProps> = ({
83
81
// in invalid markup
84
82
const Title = level ;
85
83
return (
86
- < div className = "flex flex-row gap-2 align -middle" >
84
+ < div className = "flex flex-row gap-2 items -middle" >
87
85
< Title className = { cn ( titleVariants ( { hierarchy } ) , className ) } >
88
86
{ children }
89
87
</ Title >
You can’t perform that action at this time.
0 commit comments