Correction mise à forme de la timeline

This commit is contained in:
wpetit 2020-10-05 15:50:01 +02:00
parent 27720219ee
commit a3fa793706

View File

@ -13,7 +13,7 @@ export const Timeline: FunctionComponent<TimelineProps> = ({ events }) => {
events = debounceEvents(events) || [];
return (
<React.Fragment>
<div className="timeline">
<div className="timeline" style={{width: '100%'}}>
{
events.map(evt => {
return (
@ -29,7 +29,7 @@ export const Timeline: FunctionComponent<TimelineProps> = ({ events }) => {
}
{
events.length === 0 ?
<p className="has-text-centered is-italic">Aucun évènement.</p> :
<p className="has-text-centered is-italic mb-1 mt-1">Aucun évènement.</p> :
null
}
</div>