Correction mise à forme de la timeline
This commit is contained in:
parent
27720219ee
commit
a3fa793706
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue