mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Make eventbutton wrap text better
This commit is contained in:
parent
2c1d3be680
commit
0e9966fc9e
@ -78,19 +78,17 @@ const EventButton = (obj) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="stroke" style={{ width: '100%', padding: 0, margin: 0 }}>
|
<div className="stroke" style={{ width: '100%', padding: 0, margin: 0, marginBottom: '0.2em' }}>
|
||||||
{blockNumber}
|
{blockNumber}
|
||||||
<div className="rowAlignLeft" style={{ borderRadius: "1.2em", backgroundColor: obj.eventObj.eventColour, padding: 0, margin: 0 }}>
|
<div className="strokeSmollLeft" style={{ borderRadius: "1.2em", backgroundColor: obj.eventObj.eventColour, padding: 0, margin: 0, width: '100%' }}>
|
||||||
<div className="strokeSmollLeft">
|
|
||||||
{eventCaller}
|
{eventCaller}
|
||||||
<p className="rowAlignLeft withWrap" style={{ width: '100%' }}>
|
<p className="row withWrap" style={{ maxWidth: '600px' }}>
|
||||||
💬 {obj.eventObj.eventDescription}
|
💬 {obj.eventObj.eventDescription}
|
||||||
</p>
|
</p>
|
||||||
{eventFrom}
|
{eventFrom}
|
||||||
{eventTo}
|
{eventTo}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user