Skip to content

Commit

Permalink
fix(module: icon): fix icon line-height(NG-ZORRO#46) (NG-ZORRO#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuonuoge authored and fisherspy committed Oct 15, 2018
1 parent 5e6d8c8 commit 28d76f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions components/components.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@import "./grid/style/index.less";
@import "./grid/style/addon.less";
@import "./icon/style/index.less";
@import "./icon/style/addon.less";
@import "./image-picker/style/index.less";
@import "./image-picker/style/addon.less";
@import "./input-item/style/custom-keyboard.less";
Expand Down
7 changes: 0 additions & 7 deletions components/icon/icon.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ import { IconHandler } from '../core/util/icon';
selector: 'Icon, nzm-icon',
templateUrl: './icon.component.html',
encapsulation: ViewEncapsulation.None,
styles: [
`
:host {
line-height: 1;
}
`
],
providers: [IconHandler]
})
export class IconComponent {
Expand Down
3 changes: 3 additions & 0 deletions components/icon/style/addon.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
icon, nzm-icon {
line-height: 1;
}

0 comments on commit 28d76f2

Please sign in to comment.