fix: initial system locale (#1684)

This commit is contained in:
boojack
2023-05-20 09:39:20 +08:00
committed by GitHub
parent b40571095d
commit ae1d9adf65
7 changed files with 18 additions and 39 deletions

View File

@ -18,7 +18,7 @@ const ResourceListView = () => {
return (
<div
key={resource.id}
className="max-w-full flex flex-row justify-start items-center flex-nowrap bg-gray-100 px-2 py-1 rounded cursor-pointer text-gray-500 hover:bg-gray-200 dark:opacity-60"
className="max-w-full flex flex-row justify-start items-center flex-nowrap bg-gray-100 dark:bg-zinc-800 hover:opacity-80 px-2 py-1 rounded cursor-pointer text-gray-500"
>
<ResourceIcon resourceType={resource.type} className="w-4 h-auto mr-1" />
<span className="text-sm max-w-xs truncate font-mono">{resource.filename}</span>