From 226d19ce5faf6afe251588b4e73cbb88d669610f Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Mon, 15 Jul 2024 15:07:56 +0200 Subject: [PATCH] fix: remove placeholders --- .../Forms/Edit/Profile/FormContent/index.tsx | 25 +++---------------- .../Form/NewPassword/newPassword.module.css | 16 ++++++------ 2 files changed, 13 insertions(+), 28 deletions(-) diff --git a/components/Forms/Edit/Profile/FormContent/index.tsx b/components/Forms/Edit/Profile/FormContent/index.tsx index c0f167f41..40f9cbdbd 100644 --- a/components/Forms/Edit/Profile/FormContent/index.tsx +++ b/components/Forms/Edit/Profile/FormContent/index.tsx @@ -36,38 +36,27 @@ export default function FormContent() { - - + +
- + + diff --git a/components/TempDesignSystem/Form/NewPassword/newPassword.module.css b/components/TempDesignSystem/Form/NewPassword/newPassword.module.css index 01b182003..d8a5d781b 100644 --- a/components/TempDesignSystem/Form/NewPassword/newPassword.module.css +++ b/components/TempDesignSystem/Form/NewPassword/newPassword.module.css @@ -42,7 +42,9 @@ } .input:focus, -.input:focus:placeholder-shown { +.input:focus:placeholder-shown, +.input:active, +.input:active:placeholder-shown { height: 18px; transition: height 150ms ease; outline: none; @@ -52,15 +54,15 @@ color: var(--Main-Grey-40); } +.helpText { + align-items: flex-start; + display: flex; + gap: var(--Spacing-x-half); +} + .errors { display: flex; flex-wrap: wrap; gap: var(--Spacing-x-one-and-half) var(--Spacing-x1); padding-top: var(--Spacing-x1); } - -.helpText { - align-items: flex-start; - display: flex; - gap: var(--Spacing-x-half); -}