File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const FunctionDisplay: FC<FunctionDisplayProps> = ({
3131 return < HtmlContent html = { block . content } /> ;
3232 case "example" :
3333 return isExampleFolding ? (
34- < details class = "my-4 folding-example group" >
34+ < details class = "folding-example group" >
3535 < summary class = "flex items-center gap-1 text-sm font-medium text-blue-600 cursor-pointer hover:text-blue-800" >
3636 < div class = "w-4 h-4 text-gray-400 transform transition-transform duration-200 group-open:rotate-90" >
3737 < ChevronRightIcon />
@@ -46,7 +46,7 @@ export const FunctionDisplay: FC<FunctionDisplayProps> = ({
4646 </ div >
4747 </ details >
4848 ) : (
49- < div class = "my-6 bg-gray-50 p-4 rounded-md border border-gray-200" >
49+ < div class = "bg-gray-50 p-4 rounded-md border border-gray-200" >
5050 < HtmlContent html = { block . content . body } />
5151 </ div >
5252 ) ;
Original file line number Diff line number Diff line change @@ -63,13 +63,13 @@ export const FunctionParameters: FC<FunctionParametersProps> = ({
6363 switch ( block . kind ) {
6464 case "html" :
6565 return (
66- < div class = "mb-3 text-gray-700" >
66+ < div class = "text-gray-700" >
6767 < HtmlContent html = { block . content } />
6868 </ div >
6969 ) ;
7070 case "example" :
7171 return (
72- < details class = "my-4 folding-example group" >
72+ < details class = "folding-example group" >
7373 < summary class = "flex items-center gap-1 text-sm font-medium text-blue-600 cursor-pointer hover:text-blue-800" >
7474 < div class = "w-4 h-4 text-gray-400 transform transition-transform duration-200 group-open:rotate-90" >
7575 < ChevronRightIcon />
@@ -119,7 +119,7 @@ export const FunctionParameters: FC<FunctionParametersProps> = ({
119119 ) }
120120
121121 { param . default && (
122- < p class = "mt-3 text-sm" >
122+ < p class = "mt-5 text-sm" >
123123 < span class = "font-medium" >
124124 < Translation translationKey = "defaultValue" />
125125 </ span > { " " }
You can’t perform that action at this time.
0 commit comments