History

Merge pull request #39 from aryasaatvik/fix/tool-signature-scroll

Rhys Sullivan committed 7 months ago

Commit ffcd7a32 parents 5b3ab88 a913f001 file · +1 −1Browse files

Unified · Split

apps/web/src/views/source-detail.tsx+1−1
@@ -844,7 +844,7 @@ function ToolDetailPanel(props: { detail: SourceInspectionToolDetail }) { · 843 unmodified lines
844844 <div className="mb-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground/60">
845845 TypeScript Signature
846846 </div>
847− <pre className="overflow-x-auto whitespace-pre-wrap font-mono text-[12px] text-foreground">
847+ <pre className="max-h-40 overflow-auto whitespace-pre-wrap font-mono text-[12px] text-foreground">
848848 {detail.contract.callDeclaration}
849849 </pre>
850850 </div>