switchers: layout fixes

This commit is contained in:
jean-emmanuel 2017-07-21 23:11:43 +02:00
parent e1ad9b5cd7
commit 823e870ea1
2 changed files with 37 additions and 31 deletions

View file

@ -40,7 +40,7 @@ module.exports = class Switcher extends _switchers_base {
constructor(options) {
super({...options, html: '<div class="switcher switch-container"></div>'})
super({...options, html: '<div class="switcher"></div>'})
if (this.getProp('horizontal')) this.widget.addClass('horizontal')