NUKnightLab / TimelineJS3

TimelineJS v3: A Storytelling Timeline built in JavaScript. http://timeline.knightlab.com
Mozilla Public License 2.0
2.99k stars 621 forks source link

Fixed rendering of the media-only `Slides` #783

Closed oleksandr-danylchenko closed 2 years ago

oleksandr-danylchenko commented 2 years ago

In PR https://github.com/NUKnightLab/TimelineJS3/pull/776 I add the Slide's content reversing with display:grid. But it was breaking the media-only slides or the slides with only the text. image image

So I got back to the direction:rtl but made it work only for the positioning of the .tl-slide-content and not its content: image

JoeGermuska commented 2 years ago

Thanks for finding this (and fixing it!)

oleksandr-danylchenko commented 2 years ago

You're welcome! And sorry for the disruption :upside_down_face:. I needed to analyze the existing types of slides more about switching from the table to the grid