Fixed alignment issue on timeline

pull/726/head
Cagatay Civici 2020-11-27 15:31:22 +03:00
parent b87113b331
commit c1c4be1e16
2 changed files with 6 additions and 0 deletions

View File

@ -92,6 +92,9 @@
<h6>Alternate Align</h6>
<Timeline :value="events2" layout="horizontal" align="alternate">
<template #opposite>
&nbsp;
</template>
<template #content="slotProps">
{{slotProps.item}}
</template>

View File

@ -327,6 +327,9 @@ export default {
&lt;h6&gt;Alternate Align&lt;/h6&gt;
&lt;Timeline :value="events2" layout="horizontal" align="alternate"&gt;
&lt;template #opposite&gt;
&nbsp;
&lt;/template&gt;
&lt;template #content="slotProps"&gt;
&#123;&#123;slotProps.item&#125;&#125;
&lt;/template&gt;