• 
      

    Remove remaining unnecessary clearfix stuff.

    Review Request #15129 — Created June 22, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    We had only one place left that used the clearfix class, in the
    registration form. This no longer had any effect because the captcha row
    is now explicitly display: flex, so we can remove it.

    We still have a clearfix mixin in helpers.less which is used for
    fieldset <legend> tags, and unfortunately because of how browsers
    treat that, we can't get rid of clearfix entirely.

    Verified that the captcha in the registration form looked correct on
    both desktop and mobile.

    Summary ID
    Remove remaining unnecessary clearfix stuff.
    We had only one place left that used the `clearfix` class, in the registration form. This no longer had any effect because the captcha row is now explicitly `display: flex`, so we can remove it. We still have a `clearfix` mixin in helpers.less which is used for fieldset `<legend>` tags, and unfortunately because of how browsers treat that, we can't get rid of clearfix entirely. Testing Done: Verified that the captcha in the registration form looked correct on both desktop and mobile.
    wzqoozuzowpknosomvopzyyxpklzvuxp
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.