Skip to content

Commit

Permalink
Merge pull request #198 from jdm135/master
Browse files Browse the repository at this point in the history
Fix bug with carousel minHeight. Update appStyle.
  • Loading branch information
DanielHindi committed Mar 3, 2016
2 parents e5d9108 + 8f606e3 commit 0494c69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/buildfire/components/carousel/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,11 @@ buildfire.components.carousel.view.prototype = {
}

this.cssWidth = this.width + "px";
this.cssHeight = this.height + "px";
if(this.height > 380){
this.cssHeight = '380px';
}else{
this.cssHeight = this.height + "px";
}

// Set Min height on carousel so doesn't push content down on load.
this._minHeight = '180px';
Expand Down
3 changes: 3 additions & 0 deletions styles/appStyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight-color:rgba(0,0,0,0);
-webkit-touch-callout: none;
}
/* Prevent user selection on everything except input/textarea */
*:not(input):not(textarea){
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
Expand Down

0 comments on commit 0494c69

Please sign in to comment.