Skip to content

Commit

Permalink
style: 鼠标悬浮在文件上时会显示完整文件名
Browse files Browse the repository at this point in the history
  • Loading branch information
asforest authored and Sengimu committed Dec 27, 2024
1 parent dc8947b commit 33f027c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TileViewFileExplorer/FileItem/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const Index = ({item}) => {
return (
<>
<div
title={item.name}
className={`w-24 h-24 flex flex-col justify-center items-center cursor-pointer duration-200 select-none ${getBgColor(item)}`}>
<div className="max-w-20 text-3xl">
{item.is_directory ? '📁' : '📄'}
Expand Down

0 comments on commit 33f027c

Please sign in to comment.