Skip to content

Commit

Permalink
chore: update overflow style
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Jul 28, 2023
1 parent c18bbfd commit a379614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/ShortcutView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const ShortcutView = (props: Props) => {
href={shortcutLink}
>
<span className="text-gray-400">s/</span>
{shortcut.name}
<span className="max-w-[14rem] truncate">{shortcut.name}</span>
<span className="hidden group-hover:block ml-1 cursor-pointer">
<Icon.ExternalLink className="w-4 h-auto text-gray-600" />
</span>
Expand Down Expand Up @@ -129,7 +129,7 @@ const ShortcutView = (props: Props) => {
)}
</div>
</div>
{shortcut.description && !compactStyle && <p className="mt-1 text-gray-400 text-sm">{shortcut.description}</p>}
{shortcut.description && !compactStyle && <p className="w-full break-all mt-1 text-gray-400 text-sm">{shortcut.description}</p>}
<div className="mt-2 flex flex-row justify-start items-start flex-wrap gap-2">
{shortcut.tags.map((tag) => {
return (
Expand Down

0 comments on commit a379614

Please sign in to comment.