File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ export function VariableParameterExplorer(props) {
514514 </ div >
515515
516516 { totalPages > 1 && (
517- < div style = { { marginTop : 20 , textAlign : "center" } } >
517+ < div style = { { marginTop : 20 , marginBottom : 20 , textAlign : "center" } } >
518518 < div
519519 style = { { display : "inline-flex" , alignItems : "center" , gap : "8px" } }
520520 >
@@ -679,11 +679,22 @@ function CardDrawer(props) {
679679 const type = metadata . type ;
680680 return (
681681 < >
682- { type === "parameter" ? (
683- < APIParameterCard metadata = { metadata } />
684- ) : (
685- < APIVariableCard metadata = { metadata } />
686- ) }
682+ < Card
683+ bordered = { true }
684+ style = { {
685+ width : "100%" ,
686+ backgroundColor : "white" ,
687+ overflow : "hidden" ,
688+ cursor : "pointer" ,
689+ transition : "transform 0.2s" ,
690+ } }
691+ >
692+ { type === "parameter" ? (
693+ < APIParameterCard metadata = { metadata } />
694+ ) : (
695+ < APIVariableCard metadata = { metadata } />
696+ ) }
697+ </ Card >
687698 </ >
688699 ) ;
689700}
You can’t perform that action at this time.
0 commit comments