History

fix: make tool signature panel scrollable when content is long

Saatvik Arya committed 7 months ago

Commit a913f001 parent 20557f61 file · +1 −1Browse files

Unified · Split

apps/web/src/views/source-detail.tsx+1−1
@@ -804,7 +804,7 @@ function ToolDetailPanel(props: { detail: SourceInspectionToolDetail }) { · 803 unmodified lines
804 <div className="mb-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground/60">804 <div className="mb-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground/60">
805 TypeScript Signature805 TypeScript Signature
806 </div>806 </div>
807 <pre className="overflow-x-auto whitespace-pre-wrap font-mono text-[12px] text-foreground">807 <pre className="max-h-40 overflow-auto whitespace-pre-wrap font-mono text-[12px] text-foreground">
808 {detail.contract.callDeclaration}808 {detail.contract.callDeclaration}
809 </pre>809 </pre>
810 </div>810 </div>