Skip to content

Commit

Permalink
fix: update x position for text and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Jan 2, 2024
1 parent 52670f6 commit a2e85d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function cardStyle(data: GetData, uiConfig: UiConfig): string {
const angle = {
titleXAngle: isDisabledAnimations ? (isRtlDirection ? 520 : 15) : (isRtlDirection ? 510 : 5),
titleYAngle: isDisabledAnimations ? 0 : -10,
textXAngle: isRtlDirection ? 210 : 25,
textXAngle: isRtlDirection ? 205 : 20,
dataXAngle: isRtlDirection ? 15 : 220,
iconXAngle: isRtlDirection ? 215 : -5,
imageXAngle: isDisabledAnimations ? 120 : 125,
Expand Down

0 comments on commit a2e85d0

Please sign in to comment.