Windows huge after installing nvidia drivers

I just purchased an ASUS Geforce RTX 3050. I’m running Fedora 38 and I installed the nvidia drivers through rpmfusion. I used to be able to fit 4 firefox windows without overlapping on my 32 inch monitor resolution 3840x2160. After installing the nvidia drivers I can only fit 2 firefox windows overlapping each other on my monitor. The problem seems to be a larger font is used which makes everything bigger. What can I do fix this problem?

Problem solved. Changing my font sizes from 10 to 9 worked.