Skip to content

Commit 1cfaffc

Browse files
Merge pull request #66 from chrishinrichs/master
Fix long slide content not wrapping by default
2 parents 7a310c1 + 326ef2a commit 1cfaffc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.0.3 - May 2021
2+
3+
***(Bug Fix)*** Fixes an issue introduced by 2.0.1 where long text content on slides is no longer wrapping
4+
15
# 2.0.2 - May 2021
26

37
***(Bug Fix)*** Fixes a bug when clicking to navigate to a particular slide and crossing the end or beginning of the list

src/carousel.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
8686
display: inline-block;
8787
opacity: 0.7;
8888
transition: opacity 0.5s ease-in-out;
89-
white-space: unset;
9089

9190
& > * {
9291
display: block;
92+
white-space: normal;
9393
}
9494
&.carousel-slide-loading {
9595
background: rgba(204, 204, 204, 0.7);

0 commit comments

Comments
 (0)