
Hi there👋,
You don't want your UI to look like this?
before
Final result
Here are two steps to follow in order to hide a scrollbar in your HT...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
Great share, Derick. This really helped me 🫡
BTW, if you're using TailwindCSS v3.0 or higher, you should remove:
else you'll get this warning in terminal:
I've already updated the code based on your suggestion, Nice Catch
you win chatgpt4 for this problem
Thank you so much for your kind words!
Thanks for sharing.
Btw
scrollbar-width: none;
didn't work for me.But using
scrollbar-width: 0;
worked.Combine the author's above, global scrollbar was hidden 😁
Nice one 💯
Nice👏🎉
Thank you
Great! Thank you.
Amazing Derick. You solved my problem.
thank you!
I'm glad it helped
How should I make scrollbar visible in desktop and hidden in mobile?
I don't know but try this and let me know if it works:
in your
global.css
add this code:Now, use the scrollbar class in combination with the
lg
(large screen) prefix from Tailwind to make the scrollbar visible only on desktop:am the witness: it works
that's pretty cool
thanks this help me alot
Your are welcome
thanks boss , please how did you get this **comment **text box
Thank You <3
you are welcome mate
Awesomeeee. Helped me a lot. Thanks!
Glad it helped ✅
Thanks! Super cool!
Thank you!
You re welcome mate, glad it helped!
Great. Works like a charm.
Thanks this helped
Glad it helped
Awesome!!!!
Thanks mate..!
You are welcome
It works!!
Thankyou bro
Glad its helped!
thanks for your work it helps me a lot. thanks once again
Glad its helped!
Thank you, That worked for me