Skip to content
This repository has been archived by the owner on Aug 3, 2018. It is now read-only.

Commit

Permalink
fix(app): fixes margin bug on close button
Browse files Browse the repository at this point in the history
Fixes #60
  • Loading branch information
Martin committed Aug 6, 2016
1 parent 90fe322 commit e8aca2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,8 @@ md-content{
-webkit-flex-direction: column;
flex-direction: column;
height: 100%;
}

md-icon.icon-fix {
margin-left: 8px;
}
2 changes: 1 addition & 1 deletion src/app/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Menu
<span class="fill"></span>
<button md-icon-button (click)="start.close()">
<md-icon>close</md-icon>
<md-icon class="icon-fix">close</md-icon>
</button>
</md-toolbar>

Expand Down
3 changes: 2 additions & 1 deletion src/app/meditation/list-entry/list-entry.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, Input, Output, EventEmitter } from '@angular/core';
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
import { MeditationService } from '../meditation.service';
import { Response } from '@angular/http';
import { Router } from '@angular/router';
Expand All @@ -10,6 +10,7 @@ import * as moment from 'moment';
selector: 'meditation-list-entry',
template: require('./list-entry.html'),
directives: [AvatarDirective],
changeDetection: ChangeDetectionStrategy.OnPush,
styles: [
require('./list-entry.css')
]
Expand Down

0 comments on commit e8aca2d

Please sign in to comment.