Correction mise à forme de la timeline

This commit is contained in:
wpetit 2020-10-05 15:50:01 +02:00
parent 27720219ee
commit a3fa793706
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export const Timeline: FunctionComponent<TimelineProps> = ({ events }) => {
events = debounceEvents(events) || []; events = debounceEvents(events) || [];
return ( return (
<React.Fragment> <React.Fragment>
<div className="timeline"> <div className="timeline" style={{width: '100%'}}>
{ {
events.map(evt => { events.map(evt => {
return ( return (
@ -29,7 +29,7 @@ export const Timeline: FunctionComponent<TimelineProps> = ({ events }) => {
} }
{ {
events.length === 0 ? 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 null
} }
</div> </div>