It seems that there is issue calculating the input height when overriding font-size with a new font-size where value is set using css-variable. Happens to me only in Edge. See here for reproduction.