fixed: 调整标题样式

This commit is contained in:
LittleBoy 2025-02-05 11:48:32 +08:00 committed by Coding
parent f7823b7390
commit 9eecaa4294
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import React, {createContext, useEffect, useReducer} from "react";
import Loader from "@/components/loader";
import {clearAuth, getAuthToken, setAuthToken} from "@/hooks/useAuth.ts";
import {getAuthToken, setAuthToken} from "@/hooks/useAuth.ts";
import {auth} from "@/service/api/user.ts";
import {getAllCategory} from "@/service/api/article.ts";
import {BizError} from "@/service/types.ts";

View File

@ -118,7 +118,7 @@ export default function NewEdit() {
const checked = selectedRowKeys.includes(item.id)
return <div key={i} className={clsx("row flex", {checked})}>
<div className="col title cursor-pointer" onClick={() => setEditId(item.id)}>
<div>
<div className="flex-1">
<div className="text-base">{item.title}</div>
<div
className="summary text-xs text-gray-400 line-clamp-1">{item.summary}</div>