From 46ea6b4e48a5ea4155ac2f3893111307e51dd94a Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Mon, 6 Jan 2025 12:22:49 +0530 Subject: [PATCH] fix css selector --- .../widgets/src/components/FieldLabel/src/styles.module.css | 2 +- .../widgets/src/components/Input/src/styles.module.css | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/client/packages/design-system/widgets/src/components/FieldLabel/src/styles.module.css b/app/client/packages/design-system/widgets/src/components/FieldLabel/src/styles.module.css index e286abff38c..b631bff7264 100644 --- a/app/client/packages/design-system/widgets/src/components/FieldLabel/src/styles.module.css +++ b/app/client/packages/design-system/widgets/src/components/FieldLabel/src/styles.module.css @@ -2,7 +2,7 @@ display: flex; align-items: center; gap: var(--inner-spacing-1); - height: var(--sizing-3); + min-height: var(--sizing-3); margin-block-end: var(--inner-spacing-3); } diff --git a/app/client/packages/design-system/widgets/src/components/Input/src/styles.module.css b/app/client/packages/design-system/widgets/src/components/Input/src/styles.module.css index 63a0d04a895..38c216b53fb 100644 --- a/app/client/packages/design-system/widgets/src/components/Input/src/styles.module.css +++ b/app/client/packages/design-system/widgets/src/components/Input/src/styles.module.css @@ -27,6 +27,7 @@ padding-block: var(--inner-spacing-1); padding-inline: var(--inner-spacing-2); box-sizing: content-box; + cursor: inherit; } .inputGroup:has([data-input-prefix]) .input { @@ -143,8 +144,9 @@ * DISABLED * ---------------------------------------------------------------------------- */ -.inputGroup:has(> .input[data-disabled]), -.inputGroup:has(> .input:has(~ input[data-disabled])) { +.inputGroup:has( + :is(.input[data-disabled], .input:has(~ input[data-disabled])) + ) { cursor: not-allowed; box-shadow: none; }