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