mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 18:55:09 +02:00
Margin between each block, not each event
This commit is contained in:
parent
a6639602c5
commit
1ce78eb572
@ -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}
|
||||||
|
@ -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' }}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user