UI fixes
This commit is contained in:
parent
42b585bc40
commit
f90d9150b8
|
@ -37,7 +37,7 @@ const Trace: React.FC<TraceProps> = ({ txData, resolvedAddresses }) => {
|
||||||
return (
|
return (
|
||||||
<ContentFrame tabs>
|
<ContentFrame tabs>
|
||||||
<div className="mt-4 mb-5 space-y-3 font-code text-sm flex flex-col items-start overflow-x-auto">
|
<div className="mt-4 mb-5 space-y-3 font-code text-sm flex flex-col items-start overflow-x-auto">
|
||||||
<div className="flex items-baseline border rounded px-1 py-px">
|
<div className="flex items-baseline border rounded px-1 py-0.5">
|
||||||
<AddressHighlighter address={txData.from}>
|
<AddressHighlighter address={txData.from}>
|
||||||
<DecoratedAddressLink
|
<DecoratedAddressLink
|
||||||
address={txData.from}
|
address={txData.from}
|
||||||
|
|
|
@ -42,7 +42,7 @@ const TraceInput: React.FC<TraceInputProps> = ({
|
||||||
const [expanded, setExpanded] = useState<boolean>(false);
|
const [expanded, setExpanded] = useState<boolean>(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="ml-5 border rounded px-1 py-px">
|
<div className="ml-5 border rounded px-1 py-0.5">
|
||||||
<div className="flex items-baseline">
|
<div className="flex items-baseline">
|
||||||
<span className="text-xs text-gray-400 lowercase">{t.type}</span>
|
<span className="text-xs text-gray-400 lowercase">{t.type}</span>
|
||||||
<span>
|
<span>
|
||||||
|
@ -66,7 +66,11 @@ const TraceInput: React.FC<TraceInputProps> = ({
|
||||||
<span className="whitespace-nowrap">
|
<span className="whitespace-nowrap">
|
||||||
(
|
(
|
||||||
{hasParams && (
|
{hasParams && (
|
||||||
<Switch checked={expanded} onChange={setExpanded}>
|
<Switch
|
||||||
|
className="text-xs"
|
||||||
|
checked={expanded}
|
||||||
|
onChange={setExpanded}
|
||||||
|
>
|
||||||
{expanded ? (
|
{expanded ? (
|
||||||
<span className="text-gray-400">[-]</span>
|
<span className="text-gray-400">[-]</span>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in New Issue