Skip to content

Commit

Permalink
chore: tweak shortcut link display
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Nov 21, 2023
1 parent 0b5f54b commit 50d9873
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions frontend/extension/src/components/ShortcutView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ const ShortcutView = (props: Props) => {
<div className="truncate">
<span className="dark:text-gray-400">{shortcut.title}</span>
{shortcut.title ? (
<span className="text-gray-500">(s/{shortcut.name})</span>
<span className="text-gray-500">({shortcut.name})</span>
) : (
<>
<span className="text-gray-400 dark:text-gray-500">s/</span>
<span className="truncate dark:text-gray-400">{shortcut.name}</span>
</>
)}
Expand Down
3 changes: 1 addition & 2 deletions frontend/web/src/components/ShortcutCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ const ShortcutCard = (props: Props) => {
<div className="truncate">
<span className="dark:text-gray-400">{shortcut.title}</span>
{shortcut.title ? (
<span className="text-gray-500">(s/{shortcut.name})</span>
<span className="text-gray-500">({shortcut.name})</span>
) : (
<>
<span className="text-gray-400 dark:text-gray-500">s/</span>
<span className="truncate dark:text-gray-400">{shortcut.name}</span>
</>
)}
Expand Down
3 changes: 1 addition & 2 deletions frontend/web/src/components/ShortcutView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ const ShortcutView = (props: Props) => {
{shortcut.title ? (
<>
<span className="dark:text-gray-400">{shortcut.title}</span>
<span className="text-gray-500">(s/{shortcut.name})</span>
<span className="text-gray-500">({shortcut.name})</span>
</>
) : (
<>
<span className="text-gray-400 dark:text-gray-500">s/</span>
<span className="dark:text-gray-400">{shortcut.name}</span>
</>
)}
Expand Down

0 comments on commit 50d9873

Please sign in to comment.