Add hover coloring

This commit is contained in:
Willian Mitsuda 2021-11-07 17:42:10 -03:00
parent 45bfe9718a
commit bf7117c1eb
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ const Trace: React.FC<TraceProps> = ({ txData, resolvedAddresses }) => {
return (
<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="flex items-baseline border rounded px-1 py-0.5">
<div className="border hover:border-gray-500 rounded px-1 py-0.5">
<AddressHighlighter address={txData.from}>
<DecoratedAddressLink
address={txData.from}

View File

@ -42,7 +42,7 @@ const TraceInput: React.FC<TraceInputProps> = ({
const [expanded, setExpanded] = useState<boolean>(false);
return (
<div className="ml-5 border rounded px-1 py-0.5">
<div className="ml-5 border hover:border-gray-500 rounded px-1 py-0.5">
<div className="flex items-baseline">
<span className="text-xs text-gray-400 lowercase">{t.type}</span>
<span>