diff options
author | crupest <crupest@outlook.com> | 2021-07-01 16:58:34 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-07-01 16:58:34 +0800 |
commit | ee5341ffcf02aa99a935dd4a3f523b14ab9ab5ad (patch) | |
tree | f309926c6fffa74e3486e5e03cb2576e82048cf2 /FrontEnd/src/views/timeline-common/TimelineMember.tsx | |
parent | 81e54efaae0ec1d5f1f90c3ca40448f8c61f0e80 (diff) | |
download | timeline-ee5341ffcf02aa99a935dd4a3f523b14ab9ab5ad.tar.gz timeline-ee5341ffcf02aa99a935dd4a3f523b14ab9ab5ad.tar.bz2 timeline-ee5341ffcf02aa99a935dd4a3f523b14ab9ab5ad.zip |
...
Diffstat (limited to 'FrontEnd/src/views/timeline-common/TimelineMember.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline-common/TimelineMember.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/FrontEnd/src/views/timeline-common/TimelineMember.tsx b/FrontEnd/src/views/timeline-common/TimelineMember.tsx index c8f26da7..0ebecbb9 100644 --- a/FrontEnd/src/views/timeline-common/TimelineMember.tsx +++ b/FrontEnd/src/views/timeline-common/TimelineMember.tsx @@ -12,22 +12,22 @@ import UserAvatar from "../common/user/UserAvatar"; import Button from "../common/button/Button"; import Dialog from "../common/dailog/Dialog"; +import "./TimelineMember.css"; + const TimelineMemberItem: React.FC<{ user: HttpUser; add?: boolean; onAction?: (username: string) => void; }> = ({ user, add, onAction }) => { return ( - <div className="container"> + <div className="container timeline-member-item"> <div className="row"> <div className="col col-auto"> - <UserAvatar username={user.username} className="avatar small" /> + <UserAvatar username={user.username} className="cru-avatar small" /> </div> <div className="col"> <div className="row">{user.nickname}</div> - <div className="row"> - <small>{"@" + user.username}</small> - </div> + <small className="row">{"@" + user.username}</small> </div> {onAction ? ( <div className="col col-auto"> @@ -130,7 +130,7 @@ const TimelineMemberUserSearch: React.FC<{ } } else if (userSearchState.type === "error") { return ( - <div className="text-danger"> + <div className="cru-color-danger"> {convertI18nText(userSearchState.data, t)} </div> ); |