Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
zizdlp committed Aug 25, 2024
1 parent e53fb58 commit 5c6c745
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions zbook_frontend/src/components/WikiInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default async function WikiInfo(props: WikiInfoProps) {
/>

{session?.access_token && (
<>
<div className="print:hidden">
<CreateComment
parentID={0}
markdownID={props.markdown_id}
Expand All @@ -70,7 +70,7 @@ export default async function WikiInfo(props: WikiInfoProps) {
authname={session.username}
/>
</div>
</>
</div>
)}
</MainContentWrapper>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ export default function ListRepoElement({
<ListElementCard
header={
<>
<div className="flex items-center justify-center space-x-2 py-1">
<div className="flex items-center justify-center space-x-2 py-1 overflow-hidden">
<GitHost
git_host={git_host}
className="flex-none w-8 h-8 rounded-full object-cover"
/>

<div className="flex flex-col justify-begin">
<div className="flex flex-col justify-begin overflow-scroll">
<Link
href={`/workspace/${username}/o/${repo_name}`}
className="cursor-pointer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FetchServerWithAuthWrapperEndPoint } from "@/fetchs/server_with_auth_ut
import { FetchError } from "@/fetchs/util";
import { OperationContext } from "@/providers/OperationProvider";
import { useContext } from "react";
import { MdDeleteOutline, MdLockOpen, MdLockOutline } from "react-icons/md";
import { MdDeleteOutline, MdLockOpen, MdLockPerson } from "react-icons/md";

export default function UserButtons({
username,
Expand Down Expand Up @@ -41,7 +41,7 @@ export default function UserButtons({
return (
<>
{is_blocked && (
<MdLockOutline
<MdLockPerson
onClick={async () => {
await actionUpdateUserBlock();
}}
Expand Down

0 comments on commit 5c6c745

Please sign in to comment.