Refactor: menu NewFolder styling classnames (#224)

Changed the hidden class to mb-2,
so that the plus icon on new folder button will appear in mobile view.
This commit is contained in:
Tindo N. Arsel 2023-04-19 15:30:08 +01:00 committed by GitHub
parent 4bfa2e6dfa
commit 226944b62a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ const NewFolder = () => {
return (
<a
className={`max-md:hidden flex py-3 px-3 items-center gap-3 rounded-md hover:bg-gray-500/10 transition-colors duration-200 text-white text-sm md:mb-2 flex-shrink-0 md:border md:border-white/20 transition-opacity ${
className={`flex py-3 px-3 items-center gap-3 rounded-md hover:bg-gray-500/10 transition-colors duration-200 text-white text-sm mb-2 flex-shrink-0 border border-white/20 transition-opacity ${
generating
? 'cursor-not-allowed opacity-40'
: 'cursor-pointer opacity-100'