Next.js Discord

Discord Forum

Why adding `antialiased` by default in `layout.tsx`?

Unanswered
Shayokh posted this in #help-forum
Open in Discord
I did some digging online and found out that is some cases, setting font-smooting antialias can cause issues. Most of the suggestions I found was to remove it and Let the browser handle it based on the scenario. So, Is there any reason NextJs adds antialiased in the layout file of every project?

15 Replies

hi pls dont repost the qn, you can bump this one (at most once a day)
@joulev hi pls dont repost the qn, you can bump this one (at most once a day)
Umm would you mind telling me how to bump?
just send any message in here and it will bump your qn to the top of the #help-forum channel page
Hello. Can someone clarify?
Daggertooth pike conger
just for smooth scrolling
i dont think its got any complicated reason
they just added it for smoothness
just remove if u dont want it
and smooths fonts
not scorlling
mb
also
its not nextjs that automatically adds the tag
its wether u use tailwind css in ur setuip