diff options
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_transitions.scss')
-rw-r--r-- | vendor/twbs/bootstrap/scss/_transitions.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/scss/_transitions.scss b/vendor/twbs/bootstrap/scss/_transitions.scss index 40be4d918..bfb26aa8a 100644 --- a/vendor/twbs/bootstrap/scss/_transitions.scss +++ b/vendor/twbs/bootstrap/scss/_transitions.scss @@ -6,6 +6,7 @@ } } +// scss-docs-start collapse-classes .collapse { &:not(.show) { display: none; @@ -13,8 +14,14 @@ } .collapsing { - position: relative; height: 0; overflow: hidden; @include transition($transition-collapse); + + &.collapse-horizontal { + width: 0; + height: auto; + @include transition($transition-collapse-width); + } } +// scss-docs-end collapse-classes |