skip to Main Content

Css – Why isn't the theme changing

Description: I've implemented a theme switching button in my React application to toggle between light and dark themes. However, I'm encountering an issue where clicking the button doesn't result in the theme changing as expected. Here's the relevant code snippet…

VIEW QUESTION

Reactjs – Text in not getting truncated even after adding classname truncate in tailwind css

screen shot of how the text is looking. The code: <div className='flex flex-col'> {/* {details.name} */} sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss <span className='text-muted-foreground'> <p className='truncate max-w-full'> {/* {details.address} */} ssssssssssssssssssssssssssssssssssssssssssssssssss </p> </span> </div> Even after using truncate , text-clip, the text is not getting…

VIEW QUESTION
Back To Top
Search