Merge pull request #2911 from tangly1024/fix/nobelium-nav-title-mobile

nobelium主题移动端标题栏
This commit is contained in:
tangly1024
2024-10-31 18:13:21 +08:00
committed by GitHub

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>