nobelium主题移动端标题栏

This commit is contained in:
tangly1024.com
2024-10-31 18:12:55 +08:00
parent ac6cf6d8aa
commit fdce9d235f

View File

@@ -68,11 +68,11 @@ const Nav = props => {
</div>
</Link>
{post ? (
<p className='ml-2 font-medium text-gray-800 dark:text-gray-300 header-name'>
<p className='ml-2 max-h-12 line-clamp-2 overflow-ellipsis font-medium text-gray-800 dark:text-gray-300 header-name'>
{post?.title}
</p>
) : (
<p className='logo ml-2 font-medium text-gray-800 dark:text-gray-300 header-name whitespace-nowrap'>
<p className='logo line-clamp-1 overflow-ellipsis ml-2 font-medium text-gray-800 dark:text-gray-300 header-name whitespace-nowrap'>
{siteConfig('TITLE')}
{/* ,{' '}<span className="font-normal">{siteConfig('DESCRIPTION')}</span> */}
</p>