Fix width
This commit is contained in:
parent
445cd679d8
commit
cc652eea5b
@ -44,7 +44,7 @@ const Trace: React.FC<TraceProps> = ({ txData, resolvedAddresses }) => {
|
|||||||
resolvedAddresses={resolvedAddresses}
|
resolvedAddresses={resolvedAddresses}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="ml-5 space-y-3">
|
<div className="ml-5 space-y-3 self-stretch">
|
||||||
{traces.map((t, i, a) => (
|
{traces.map((t, i, a) => (
|
||||||
<TraceItem
|
<TraceItem
|
||||||
key={i}
|
key={i}
|
||||||
|
@ -38,7 +38,11 @@ const TraceInput: React.FC<TraceInputProps> = ({
|
|||||||
const [expanded, setExpanded] = useState<boolean>(false);
|
const [expanded, setExpanded] = useState<boolean>(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="ml-5 border hover:border-gray-500 rounded px-1 py-0.5">
|
<div
|
||||||
|
className={`ml-5 border hover:border-gray-500 rounded px-1 py-0.5 ${
|
||||||
|
expanded ? "w-full" : ""
|
||||||
|
}`}
|
||||||
|
>
|
||||||
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user