Skip to content

Commit

Permalink
Merge pull request matt8707#29 from moritzlang/patch-1
Browse files Browse the repository at this point in the history
fix(button_card_templates): adjust alignment for moz
  • Loading branch information
matt8707 authored Mar 19, 2021
2 parents c9dd19e + 0547dff commit 2246f05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions button_card_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
}
</style>
<circle cx="25" cy="25" r="${radius}" stroke="#b2b2b2" stroke-width="1.5" fill="none" />
<text x="50%" y="54%" fill="#8d8e90" font-size="14" text-anchor="middle" alignment-baseline="middle">${input}<tspan font-size="10">%</tspan></text>
<text x="50%" y="54%" fill="#8d8e90" font-size="14" text-anchor="middle" alignment-baseline="middle" dominant-baseline="middle">${input}<tspan font-size="10">%</tspan></text>
</svg>
`;
}
Expand Down Expand Up @@ -284,7 +284,7 @@
}
</style>
<circle cx="25" cy="25" r="20.5" stroke="${stroke_color}" stroke-width="1.5" fill="${fill_color}" />
<text x="50%" y="54%" fill="#8d8e90" font-size="14" text-anchor="middle" alignment-baseline="middle">${last_changed}</text>
<text x="50%" y="54%" fill="#8d8e90" font-size="14" text-anchor="middle" alignment-baseline="middle" dominant-baseline="middle">${last_changed}</text>
</svg>
`;
]]]
Expand Down

0 comments on commit 2246f05

Please sign in to comment.