This commit is contained in:
Max Lynch
2013-11-20 10:13:48 -06:00
parent 915f98b454
commit f4f36f821e
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,4 @@
@charset "UTF-8";
/**
* Nav controllers and header bar animations
*/

View File

@ -24592,8 +24592,10 @@ angular.module('ionic.ui.content', [])
return function($scope, $element, $attr) {
var c = $element.eq(0);
if(attr.padding) {
c.addClass('padding');
var scroll = $element[0].querySelector('.scroll');
if(scroll && attr.padding) {
scroll.classList.add('padding');
}
if(attr.hasHeader == "true") {

View File

@ -34,8 +34,10 @@ angular.module('ionic.ui.content', [])
return function($scope, $element, $attr) {
var c = $element.eq(0);
if(attr.padding) {
c.addClass('padding');
var scroll = $element[0].querySelector('.scroll');
if(scroll && attr.padding) {
scroll.classList.add('padding');
}
if(attr.hasHeader == "true") {