Move shared styles and attributes from keyboard-key's children to keyboard-key.

This commit is contained in:
József Farkas
2016-05-16 14:07:08 +02:00
parent c01c049fc7
commit a436298e37
6 changed files with 12 additions and 27 deletions

View File

@@ -7,8 +7,7 @@ import { Component, OnInit, Input } from '@angular/core';
`
<svg:use [attr.xlink:href]="icon"
[attr.width]="width / 3" [attr.height]="height / 3"
[attr.x]="width / 3" [attr.y]="height / 3"
fill="white">
[attr.x]="width / 3" [attr.y]="height / 3">
</svg:use>
`
})