Home > Software engineering >  React Tailwindcss- background color and text are the same size
React Tailwindcss- background color and text are the same size

Time:12-27

The backgound color is too close to the text. I have no idea why it is like that

I have searched the documents for help but cant seem to find a solution

CodePudding user response:

use padding from tailwind css for text "p-5"

  • Related