1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02: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

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, {