修复next/example搜索结果内容太长

This commit is contained in:
tangly1024.com
2023-03-27 12:30:23 +08:00
parent 6322a4002a
commit 28bd411eda
3 changed files with 11 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ export const BlogListPage = props => {
</p>
{/* 搜索结果 */}
{p.results && (
<p className="mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
<p className="p-4-lines mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{p.results.map(r => (
<span key={r}>{r}</span>
))}