fader: remove default 100% size, set a decent one
This commit is contained in:
parent
7b4f7bd05d
commit
8387b77fe3
2 changed files with 3 additions and 10 deletions
|
|
@ -60,14 +60,7 @@ module.exports = class Fader extends _sliders_base {
|
|||
|
||||
if (this.getProp('horizontal')) {
|
||||
this.widget.add(this.container).addClass('horizontal')
|
||||
if (this.getProp('width') == 'auto' && this.getProp('left') != 'auto') {
|
||||
this.container.css({'width':'auto', 'right':'0'})
|
||||
}
|
||||
} else {
|
||||
if (this.getProp('height') == 'auto' && this.getProp('top') != 'auto') {
|
||||
this.container.css({'height':'auto', 'bottom':'0'})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (this.getProp('compact')) {
|
||||
this.widget.addClass('compact')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue