Home > front end >  How to fix page limits with tailwindcss
How to fix page limits with tailwindcss

Time:11-14

I would like to know how I can set the limits for the page

page-limits

CodePudding user response:

try adding break-all in your class.

   <div className="w-[100px]">
    <div className="break-all"> 
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    </div>
   </div>

this will break in the limit of the parent:

100px
---------
aaaaaaaaa
aaaaaaaaa
aaaaaaaaa
  • Related