From debd2a70370fba6608d2139d8e46ea57005c0d55 Mon Sep 17 00:00:00 2001 From: Campii <dominik.chrzanowski183@gmail.com> Date: Wed, 28 Sep 2022 12:13:12 +0200 Subject: [PATCH] refactor: Code refactor [Timeline] quiqqer/ckeditor4#31 --- .../Controls/Timeline.VerticalBothSides.html | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/QUI/Timeline/Controls/Timeline.VerticalBothSides.html b/src/QUI/Timeline/Controls/Timeline.VerticalBothSides.html index bbab682..11a45b2 100644 --- a/src/QUI/Timeline/Controls/Timeline.VerticalBothSides.html +++ b/src/QUI/Timeline/Controls/Timeline.VerticalBothSides.html @@ -6,7 +6,7 @@ {/if} {if $this->getAttribute('content') != ""} -<div class="control-content"> +<div class="control-content default-content"> {$this->getAttribute('content')} </div> {/if} @@ -72,15 +72,18 @@ {/if} </header> - <p> - {$Child->getAttribute('short')|nl2br} - {if $showLinks} - <a itemprop="url" href="{url site=$Child}" - class="timeline-entry-desc-link"> - {locale group="quiqqer/timeline" value="timeline.more"} - </a> - {/if} - </p> + <div class="default-content"> + <p> + {$Child->getAttribute('short')|nl2br} + {if $showLinks} + <a itemprop="url" href="{url site=$Child}" + class="timeline-entry-desc-link"> + {locale group="quiqqer/timeline" value="timeline.more"} + </a> + {/if} + </p> + </div> + </div> </article> -- GitLab