Skip to content

Commit

Permalink
fix(dashboard): fix rendering of "favorites" header
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Mar 21, 2016
1 parent d172b87 commit 824fec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions scss/includes/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,6 @@ $shadow-color: rgba(0,0,0,0.3);
float: right;
}
}
.header {
padding: 10px;
h3 {
margin: 0;
color: white;
height: auto;
font-size: $font-size-base;
line-height: $line-height-base;
text-align: center;
}
}
}
.left-arrow {
position: absolute;
Expand All @@ -136,4 +125,4 @@ $shadow-color: rgba(0,0,0,0.3);
font-size: ($arrow-touch-padding * 2);
line-height: ($arrow-touch-padding * 2);
}
}
}
2 changes: 1 addition & 1 deletion src/app/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3 ng-if="e.hasError('alarms-chart')" class="item item-text-wrap title error">E
</div>
<span ng-if="favoriteGraphs &amp;&amp; favoriteGraphs.length > 0" class="graphs">
<!--<div class="spacer"></div>-->
<div class="header compass-bg"><h3>Favorited Graphs</h3></div>
<div class="item item-compass item-divider">Favorited Graphs</div>
<ion-slide-box on-slide-changed="refreshGraphSlide(index)" delegate-handle="graph-slide-box" show-pager="false">
<ion-slide ng-repeat="favorite in favoriteGraphs track by favorite._id">
<h4 class="label">{{favorite.nodeLabel}} <button class="button button-clear button-small button-compass" ng-click="unfavorite(favorite)"><i class="icon ion-ios-star"></i></button></h4>
Expand Down

0 comments on commit 824fec9

Please sign in to comment.