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 (
|
||||
<div className="stroke" style={{ width: '100%', padding: 0, margin: 0 }}>
|
||||
<div className="stroke" style={{ width: '100%', padding: 0, margin: 0, marginBottom: '0.2em' }}>
|
||||
{blockNumber}
|
||||
<div className="rowAlignLeft" style={{ borderRadius: "1.2em", backgroundColor: obj.eventObj.eventColour, padding: 0, margin: 0 }}>
|
||||
<div className="strokeSmollLeft">
|
||||
<div className="strokeSmollLeft" style={{ borderRadius: "1.2em", backgroundColor: obj.eventObj.eventColour, padding: 0, margin: 0, width: '100%' }}>
|
||||
{eventCaller}
|
||||
<p className="rowAlignLeft withWrap" style={{ width: '100%' }}>
|
||||
<p className="row withWrap" style={{ maxWidth: '600px' }}>
|
||||
💬 {obj.eventObj.eventDescription}
|
||||
</p>
|
||||
{eventFrom}
|
||||
{eventTo}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user