cannot create font size smaller than 10 on web app

I am trying to create smaller text within a label on a web app using webstyles, but I cannot create a font smaller than 10 when I run the the app. The font is never smaller than 10 (I compare it to labels with fonts of sizes from 10 and larger). Curiously the preview of the text in the IDE is much smaller, just not when I run or deploy the app. I can create fonts larger than 10 consistently. I would like to use fontsize 8.

Check your web browser’s minimum font size setting.