From 8b3074c7230af61b93f2e4ee5e79ca0b8a5ddfdb Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 5 Dec 2024 10:44:08 +0100 Subject: [PATCH] Use `Web/font/body/md/medium` for inline field --- src/components/Form/form.module.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/Form/form.module.css b/src/components/Form/form.module.css index bdf74dff..a12922dd 100644 --- a/src/components/Form/form.module.css +++ b/src/components/Form/form.module.css @@ -77,11 +77,6 @@ limitations under the License. color: var(--cpd-color-text-critical-primary); } -.inline-field-body .label { - /* When the label is inline, it should be using regular font weight, not medium */ - font: var(--cpd-font-body-md-regular); -} - /* Currently working everywhere but on Firefox (only behind a labs flag) https://developer.mozilla.org/en-US/docs/Web/CSS/:has#browser_compatibility */ .label:has(~ * input[disabled]),