chore: fix title style in dark mode

This commit is contained in:
Steven
2023-09-25 06:08:43 +08:00
parent e936bb6f15
commit cb9786ef7c
3 changed files with 5 additions and 8 deletions

View File

@ -50,9 +50,9 @@ const ShortcutView = (props: Props) => {
target="_blank"
>
<div className="truncate">
<span>{shortcut.title}</span>
<span className="dark:text-gray-400">{shortcut.title}</span>
{shortcut.title ? (
<span className="text-gray-400">(s/{shortcut.name})</span>
<span className="text-gray-500">(s/{shortcut.name})</span>
) : (
<>
<span className="text-gray-400 dark:text-gray-500">s/</span>