mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 01:15:03 +03:00
chore: prefer long descriptions when available
This commit is contained in:
1 parent
28f517e897
commit
2df07abdf4
1 file changed
+9
-3
@@ -66,9 +66,15 @@ const CliCommandSection = (props) => {
|
||||
' mb-16',
|
||||
].join(' ')}
|
||||
>
|
||||
<p className="capitalize mb-4 scroll-mt-16 mt-0 text-scale-1100 text-base">
|
||||
{command.summary}
|
||||
</p>
|
||||
{command.description ? (
|
||||
<div className="prose">
|
||||
<ReactMarkdown>{command.description}</ReactMarkdown>
|
||||
</div>
|
||||
) : (
|
||||
<p className="capitalize mb-4 scroll-mt-16 mt-0 text-scale-1100 text-base">
|
||||
{command.summary}
|
||||
</p>
|
||||
)}
|
||||
</header>
|
||||
|
||||
{command.subcommands.length > 0 && (
|
||||
|
||||
Reference in new issue
Block a user