angular-ui-bootstrap
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"author": "https://github.com/angular-ui/bootstrap/graphs/contributors", | ||
"name": "angular-ui-bootstrap", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"homepage": "http://angular-ui.github.io/bootstrap/", | ||
@@ -6,0 +6,0 @@ "dependencies": {}, |
@@ -21,3 +21,3 @@ angular.module('ui.bootstrap.collapse', []) | ||
css = { | ||
width: 'auto' | ||
width: '' | ||
}; | ||
@@ -27,3 +27,3 @@ cssTo = {width: '0'}; | ||
css = { | ||
height: 'auto' | ||
height: '' | ||
}; | ||
@@ -43,5 +43,5 @@ cssTo = {height: '0'}; | ||
if (horizontal) { | ||
return {width: element.scrollWidth + 'px'}; | ||
return {width: ''}; | ||
} | ||
return {height: element.scrollHeight + 'px'}; | ||
return {height: ''}; | ||
} | ||
@@ -48,0 +48,0 @@ |
@@ -30,3 +30,3 @@ **uib-collapse** provides a simple way to hide and show an element with a css transition | ||
Whether the element should be collapsed or not. | ||
* `horizontal` | ||
@@ -36,1 +36,4 @@ <small class="badge">$</small> - | ||
### Known Issues | ||
When using the `horizontal` attribute with this directive, keep in mind that due to how CSS can reflow as the collapse element goes from 0px to its desired end width, this cause result in issues with a changing height. This can cause animations to not appear to run. The best way around this is to set a fixed height via CSS on the horizontal collapse element so that this situation does not occur, and so the animation can run as expected. |
@@ -540,3 +540,3 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.stackedMap', 'ui.bootstrap.position']) | ||
'modal-in-class': 'in' | ||
}).html(content); | ||
}).append(content); | ||
if (modal.windowClass) { | ||
@@ -543,0 +543,0 @@ angularDomEl.addClass(modal.windowClass); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1807339
226
65