Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are rows appearing in my new Nextjs app?

I am just starting a project using Nextjs. I created it with the common command "npx create-next-app --ts". Once I remove the template UI and add my simple navbar at the top, I am left with a consecutive row UI. I don't have anything else on my code enter image description here

Is this something to worry about?

like image 967
Angel Ortiz Avatar asked Oct 21 '25 04:10

Angel Ortiz


1 Answers

Delete this block of Code from your globals.css

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(
      to bottom,
      transparent,
      rgb(var(--background-end-rgb))
    )
    rgb(var(--background-start-rgb));
}
like image 83
brainzcode Avatar answered Oct 23 '25 00:10

brainzcode