-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Hey, why is this done? When I add the toggle in my html and sett the size to xs - it will ignore this and set another, calculated, height of the element. If I remove this - it works according to the size I specified.
if (wrapperHeight < wrapperComputedHeight && self.size !== 'btn-xs' && self.size !== 'btn-sm') {
$scope.wrapperStyle.height = wrapperComputedHeight + 'px';
} else {
$scope.wrapperStyle.height = wrapperHeight + 'px';
}
KRaymundus, redcomethk, jplindgren, dumith-eranga and nauchrifter
Metadata
Metadata
Assignees
Labels
No labels