mirror of https://gitee.com/answerdev/answer.git
fix(#1002): normalize class name for LinkButton
This commit is contained in:
parent
1022b73e6f
commit
fa5134dd0f
|
@ -17,7 +17,7 @@ const Index: FC<Props> = ({
|
|||
className = 'fs-14',
|
||||
}) => {
|
||||
return (
|
||||
<div className={`link-secondary ${className}`}>
|
||||
<div className={`text-secondary ${className}`}>
|
||||
{data?.status !== 'deleted' ? (
|
||||
<Link to={`/users/${data?.username}`}>
|
||||
{showAvatar && (
|
||||
|
|
|
@ -19,7 +19,7 @@ const Index: FC<Props> = ({ data, time, preFix }) => {
|
|||
) : (
|
||||
<Avatar avatar={data?.avatar} size="40px" className="me-2" />
|
||||
)}
|
||||
<div className="fs-14 link-secondary">
|
||||
<div className="fs-14 text-secondary">
|
||||
<div>
|
||||
{data?.status !== 'deleted' ? (
|
||||
<Link to={`/users/${data?.username}`} className="me-1 text-break">
|
||||
|
|
Loading…
Reference in New Issue