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

@@ -32,7 +32,11 @@ enum LabelTypes {
[attr.height]="height" [attr.width]="width"
[attr.fill]="fill"
/>
<svg:g [ngSwitch]="labelType">
<svg:g [ngSwitch]="labelType"
[attr.font-size]="19"
[attr.font-family]="'Helvetica'"
[attr.fill]="'white'"
style="dominant-baseline: central">
<svg:g svg-one-line-text-key *ngSwitchWhen="enumLabelTypes.OneLineText"
[height]="height"
[width]="width"