e top. Firefox renders the layout differently, to match the design across browsers, we need to adjust the positioning specifically for Firefox. Adjusted value for Firefox */ @-moz-document url-prefix() { .mmg .label { top: 1px; } } .mmg.has-focus .label, .mmg.has-value .label { top: unset; bottom: 100%; left: 0; padding-block: 0 5px; background-color: transparent; } .mmg .optional-label { color: var(--maui-color-text-caption); top: 12px; right: 12px;