Margin between each block, not each event

This commit is contained in:
Marco van Dijk 2022-03-05 21:07:24 +01:00
parent a6639602c5
commit 1ce78eb572
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ const Block = (obj) => {
dateObj.setUTCSeconds(thisEpoch); dateObj.setUTCSeconds(thisEpoch);
const [thisDate, thisTime] = dateObj.toISOString().split('T'); const [thisDate, thisTime] = dateObj.toISOString().split('T');
return ( return (
<div className="rowAlignLeft" style={{ width: '100%' }}> <div className="rowAlignLeft" style={{ width: '100%', marginTop: '1em' }}>
<span className="rowAlignRight elipsText"> <span className="rowAlignRight elipsText">
<a className="selectOrch" href={"https://arbiscan.io/block/" + obj.block}> <a className="selectOrch" href={"https://arbiscan.io/block/" + obj.block}>
🔗{obj.block} 🔗{obj.block}

View File

@ -49,7 +49,7 @@ const EventButton = (obj) => {
} }
return ( return (
<div className="stroke" style={{ width: '100%', padding: 0, margin: 0, marginTop: '1em' }}> <div className="stroke" style={{ width: '100%', padding: 0, margin: 0 }}>
{blockNumber} {blockNumber}
<div className="rowAlignLeft" style={{ backgroundColor: obj.eventObj.eventColour, borderRadius: "1.2em", width: '100%' }}> <div className="rowAlignLeft" style={{ backgroundColor: obj.eventObj.eventColour, borderRadius: "1.2em", width: '100%' }}>
<div className="rowAlignLeft" style={{ flex: '1', width: 'unset' }}> <div className="rowAlignLeft" style={{ flex: '1', width: 'unset' }}>