fix: max width

This commit is contained in:
Steven 2023-08-10 22:29:54 +08:00
parent 0efd495f56
commit 93ed3c81ff

View File

@ -55,7 +55,7 @@ const ShortcutView = (props: Props) => {
<div className="w-full flex flex-row justify-start items-center"> <div className="w-full flex flex-row justify-start items-center">
<a <a
className={classNames( className={classNames(
"max-w-[calc(100%-24px) flex flex-row px-1 mr-1 justify-start items-center cursor-pointer rounded-md hover:bg-gray-100 hover:shadow" "max-w-[calc(100%-36px)] flex flex-row px-1 mr-1 justify-start items-center cursor-pointer rounded-md hover:bg-gray-100 hover:shadow"
)} )}
target="_blank" target="_blank"
href={shortcutLink} href={shortcutLink}