Skip to content

Commit

Permalink
Use Web/font/body/md/medium for inline field
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Dec 5, 2024
1 parent 7911a4e commit 8b3074c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Form/form.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit 8b3074c

Please sign in to comment.