chore: update shortcut detail style

This commit is contained in:
Steven
2023-08-03 22:05:50 +08:00
parent f28d23eae7
commit 87841828ff
3 changed files with 20 additions and 7 deletions

View File

@@ -161,6 +161,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
id: shortcutId,
name: state.shortcutCreate.name,
link: state.shortcutCreate.link,
title: state.shortcutCreate.title,
description: state.shortcutCreate.description,
visibility: state.shortcutCreate.visibility,
tags: tag.split(" "),

View File

@@ -46,8 +46,8 @@ const ShortcutView = (props: Props) => {
className={classNames(
"max-w-full flex flex-row px-1 mr-1 justify-start items-center cursor-pointer rounded-md hover:underline"
)}
target="_blank"
href={shortcutLink}
target="_blank"
>
<div className="truncate">
<span>{shortcut.title}</span>