Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
055a327b
Unverified
Commit
055a327b
authored
Dec 06, 2023
by
t.yang
Committed by
GitHub
Dec 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: detail page user-avatar size have unexpected height (#2576)
Co-authored-by:
tyangs.yang
<
tyangs.yang@hstong.com
>
parent
aff1b470
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+1
-1
UserProfile.tsx
web/src/pages/UserProfile.tsx
+1
-1
No files found.
web/src/pages/MemoDetail.tsx
View file @
055a327b
...
@@ -114,7 +114,7 @@ const MemoDetail = () => {
...
@@ -114,7 +114,7 @@ const MemoDetail = () => {
<
section
className=
"relative top-0 w-full min-h-full overflow-x-hidden bg-zinc-100 dark:bg-zinc-900"
>
<
section
className=
"relative top-0 w-full min-h-full overflow-x-hidden bg-zinc-100 dark:bg-zinc-900"
>
<
div
className=
"relative w-full h-auto mx-auto flex flex-col justify-start items-center bg-white dark:bg-zinc-700"
>
<
div
className=
"relative w-full h-auto mx-auto flex flex-col justify-start items-center bg-white dark:bg-zinc-700"
>
<
div
className=
"w-full flex flex-col justify-start items-center pt-16 pb-8"
>
<
div
className=
"w-full flex flex-col justify-start items-center pt-16 pb-8"
>
<
UserAvatar
className=
"!w-20 h-20 mb-2 drop-shadow"
avatarUrl=
{
systemStatus
.
customizedProfile
.
logoUrl
}
/>
<
UserAvatar
className=
"!w-20
!
h-20 mb-2 drop-shadow"
avatarUrl=
{
systemStatus
.
customizedProfile
.
logoUrl
}
/>
<
p
className=
"text-3xl text-black opacity-80 dark:text-gray-200"
>
{
systemStatus
.
customizedProfile
.
name
}
</
p
>
<
p
className=
"text-3xl text-black opacity-80 dark:text-gray-200"
>
{
systemStatus
.
customizedProfile
.
name
}
</
p
>
</
div
>
</
div
>
<
div
className=
"relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4 pb-6"
>
<
div
className=
"relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4 pb-6"
>
...
...
web/src/pages/UserProfile.tsx
View file @
055a327b
...
@@ -45,7 +45,7 @@ const UserProfile = () => {
...
@@ -45,7 +45,7 @@ const UserProfile = () => {
<
div
className=
"w-full flex flex-row justify-start items-start"
>
<
div
className=
"w-full flex flex-row justify-start items-start"
>
<
div
className=
"flex-grow shrink w-full"
>
<
div
className=
"flex-grow shrink w-full"
>
<
div
className=
"w-full flex flex-col justify-start items-center py-8"
>
<
div
className=
"w-full flex flex-col justify-start items-center py-8"
>
<
UserAvatar
className=
"!w-20 h-20 mb-2 drop-shadow"
avatarUrl=
{
user
?.
avatarUrl
}
/>
<
UserAvatar
className=
"!w-20
!
h-20 mb-2 drop-shadow"
avatarUrl=
{
user
?.
avatarUrl
}
/>
<
p
className=
"text-3xl text-black opacity-80 dark:text-gray-200"
>
{
user
?.
nickname
}
</
p
>
<
p
className=
"text-3xl text-black opacity-80 dark:text-gray-200"
>
{
user
?.
nickname
}
</
p
>
</
div
>
</
div
>
<
MemoList
/>
<
MemoList
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment