some more tiny ticket viewer tweaks

This commit is contained in:
Marco van Dijk 2022-03-13 18:33:47 +01:00
parent b38b1ba9bc
commit 494ce16f74
2 changed files with 3 additions and 6 deletions

View File

@ -8,10 +8,10 @@ const Block = (obj) => {
return ( return (
<div className="rowAlignLeft" style={{ width: '100%', marginTop: '1em' }}> <div className="rowAlignLeft" style={{ width: '100%', marginTop: '1em' }}>
<a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={obj.url}> <a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={obj.url}>
<img alt="" src="arb.svg" width="30em" height="30em" /> <img alt="" src="arb.svg" width="20em" height="20em" />
</a> </a>
<a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={"https://arbiscan.io/block/" + obj.block}> <a className="selectOrch" style={{ cursor: 'alias' }} target="_blank" rel="noopener noreferrer" href={"https://arbiscan.io/block/" + obj.block}>
<h2 style={{ margin: 0, padding: '0.2em', cursor: 'alias' }}>🔗</h2> <h3 style={{ margin: 0, padding: '0.2em', cursor: 'alias' }}>🔗</h3>
</a> </a>
<span className="rowAlignRight elipsText"> <span className="rowAlignRight elipsText">
<p className="darkText mobileSmallerFont">UTC&nbsp;📅{thisDate} - {thisTime.split('.')[0]} </p> <p className="darkText mobileSmallerFont">UTC&nbsp;📅{thisDate} - {thisTime.split('.')[0]} </p>
@ -20,7 +20,4 @@ const Block = (obj) => {
) )
} }
export default Block; export default Block;

View File

@ -84,7 +84,7 @@ const EventButton = (obj) => {
<div className="rowAlignLeft" style={{ marginTop: '0.5em' }}> <div className="rowAlignLeft" style={{ marginTop: '0.5em' }}>
{eventCaller} {eventCaller}
</div> </div>
<div className="row"> <div className="row" style={{marginBottom: '0.5em', marginTop: '0.5em'}}>
<div className="row" style={{ justifyContent: 'space-between', alignItems: 'stretch' ,maxWidth: '61.8%', textAlign: 'justify', padding: '0.5em', border: '0.1em solid rgba(54, 46, 46, 0.1)', boxShadow: "4px 2px 3px 2px rgba(54, 46, 46, 0.1)" }}> <div className="row" style={{ justifyContent: 'space-between', alignItems: 'stretch' ,maxWidth: '61.8%', textAlign: 'justify', padding: '0.5em', border: '0.1em solid rgba(54, 46, 46, 0.1)', boxShadow: "4px 2px 3px 2px rgba(54, 46, 46, 0.1)" }}>
{obj.eventObj.eventDescription} {obj.eventObj.eventDescription}
</div> </div>