Skip to content

Commit e49c775

Browse files
committed
Merge pull request twbs#12695 from martikaljuve/offcanvas-transition
Fixed transitions on offcanvas example by adding initial left and right properties
2 parents 8551f42 + 6d232c2 commit e49c775

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/examples/offcanvas/offcanvas.css

+8
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ footer {
2525
transition: all .25s ease-out;
2626
}
2727

28+
.row-offcanvas-right {
29+
right: 0;
30+
}
31+
32+
.row-offcanvas-left {
33+
left: 0;
34+
}
35+
2836
.row-offcanvas-right
2937
.sidebar-offcanvas {
3038
right: -50%; /* 6 columns */

0 commit comments

Comments
 (0)