From fecb1310843b93596774d70214a17f6f62a31e7d Mon Sep 17 00:00:00 2001 From: Maja Zarkova Date: Mon, 27 May 2024 14:21:43 +0300 Subject: [PATCH] Fix styling --- .../sit-onyx/src/components/OnyxInput/OnyxInput.ct.tsx | 6 +++--- packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue | 7 ++----- .../src/components/OnyxTextarea/OnyxTextarea.ct.tsx | 6 +++--- .../src/components/OnyxTextarea/OnyxTextarea.vue | 9 +++------ 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/packages/sit-onyx/src/components/OnyxInput/OnyxInput.ct.tsx b/packages/sit-onyx/src/components/OnyxInput/OnyxInput.ct.tsx index d169178eb..3b65cb0e0 100644 --- a/packages/sit-onyx/src/components/OnyxInput/OnyxInput.ct.tsx +++ b/packages/sit-onyx/src/components/OnyxInput/OnyxInput.ct.tsx @@ -85,11 +85,11 @@ test.describe("Screenshot tests", () => { }, beforeScreenshot: async (component, page, _column, _row) => { const tooltip = page.getByRole("tooltip"); + await tooltip.hover(); + await component.evaluate((element) => { - element.style.height = `10rem`; + element.style.paddingTop = `3rem`; }); - - await tooltip.hover(); }, }); diff --git a/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue b/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue index 5b1ab6f58..d11900e56 100644 --- a/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue +++ b/packages/sit-onyx/src/components/OnyxInput/OnyxInput.vue @@ -80,11 +80,8 @@ const { t } = injectI18n();