From fa1d2d855c1cbef814bb19824f2db197ffb68ece Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 9 Jan 2025 03:43:55 +0100 Subject: [PATCH] fix(UptimelinkWebwidget): Remove incorrect scale transformation in focused state. --- changelog.md | 5 +++++ ts_web/00_commitinfo_data.ts | 2 +- ts_web/elements/uptimelink-webwidget.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 9733036..16e6e60 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-01-09 - 1.2.1 - fix(UptimelinkWebwidget) +Remove incorrect scale transformation in focused state. + +- Fixed the CSS transform property for the .mainbox.focused class in the UptimelinkWebwidget component by removing an unintended scale transformation. + ## 2025-01-09 - 1.2.0 - feat(webwidget) Enhanced widget animations and styling diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 5881408..c9b3474 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@uptime.link/webwidget', - version: '1.2.0', + version: '1.2.1', description: 'The web widget for public use of uptimelink, allowing users to monitor uptime status through a user-friendly interface.' } diff --git a/ts_web/elements/uptimelink-webwidget.ts b/ts_web/elements/uptimelink-webwidget.ts index be37fbb..e3df823 100644 --- a/ts_web/elements/uptimelink-webwidget.ts +++ b/ts_web/elements/uptimelink-webwidget.ts @@ -89,7 +89,7 @@ export class UptimelinkWebwidget extends DeesElement { .mainbox.focused { width: 182px; height: 117px; - transform: translateX(-16px)scale(1.1, 1.1); + transform: translateX(-16px); background: ${this.goBright ? '#ffffff' : '#222222' } !important; box-shadow: ${this.goBright ? '0px 0px 5px rgba(0,0,0,0.1)' : ''} !important; }