[Resolved] Font changing when switching to Flexbox

Home Forums Support [Resolved] Font changing when switching to Flexbox

Home Forums Support Font changing when switching to Flexbox

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1565296
    Fabien

    Hi,

    I am currently migrating to Flexbox. I am running into small issues. First one : the font (weight ?) is changing when I move to Flexbox (vs. Float). I am using system stack font family and I didn’t change any settings regarding the font.

    Please see below :

    Floats

    Floats

    Flexbox

    Flexbox

    #1565300
    Fabien
    #1565509
    David
    Staff
    Customer Support

    Hi there,

    yes, we implemented font smoothing on the latest version.
    We can provide some CSS if you want it disabled ?

    #1565642
    Fabien

    Yes why not 😉 And it will help other people looking for this !

    #1565658
    David
    Staff
    Customer Support

    Try this CSS:

    html {
        -webkit-font-smoothing: unset;
        -moz-osx-font-smoothing: unset;
    }
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.