2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Add horizontal collapse support

This commit is contained in:
Mark Otto
2021-06-14 23:25:11 +03:00
committed by Mark Otto
parent 8bc89b273d
commit 359ed099e5
5 changed files with 33 additions and 2 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ describe('Collapse', () => {
})
it('should show a collapsed element on width', done => {
fixtureEl.innerHTML = '<div class="collapse width" style="width: 0px;"></div>'
fixtureEl.innerHTML = '<div class="collapse collapse-horizontal" style="width: 0px;"></div>'
const collapseEl = fixtureEl.querySelector('div')
const collapse = new Collapse(collapseEl, {