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
1755c9dc
Commit
1755c9dc
authored
Oct 17, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update button style
parent
a5df36ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+12
-11
SignIn.tsx
web/src/pages/SignIn.tsx
+1
-0
SignUp.tsx
web/src/pages/SignUp.tsx
+1
-0
No files found.
web/src/pages/MemoDetail.tsx
View file @
1755c9dc
...
...
@@ -112,23 +112,24 @@ const MemoDetail = () => {
<
p
className=
"text-3xl text-black opacity-80 dark:text-gray-200"
>
{
systemStatus
.
customizedProfile
.
name
}
</
p
>
</
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"
>
{
memo
.
parent
&&
(
<
div
className=
"w-full mb-4"
>
<
Link
className=
"px-3 py-1 border rounded-full max-w-xs w-full text-sm flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-400 dark:border-gray-500 hover:shadow hover:opacity-80"
to=
{
`/m/${memo.parent.id}`
}
>
<
Icon
.
ArrowUpLeftFromCircle
className=
"w-4 h-auto shrink-0 opacity-60"
/>
<
span
className=
"mx-1 opacity-60"
>
#
{
memo
.
parent
.
id
}
</
span
>
<
span
className=
"truncate"
>
{
memo
.
parent
.
content
}
</
span
>
</
Link
>
</
div
>
)
}
<
div
className=
"w-full mb-4 flex flex-row justify-start items-center mr-1"
>
<
span
className=
"text-gray-400 select-none"
>
{
getDateTimeString
(
memo
.
displayTs
)
}
</
span
>
<
Icon
.
Dot
className=
"w-4 h-auto text-gray-400 dark:text-zinc-400"
/>
<
Tooltip
title=
{
"Identifier"
}
placement=
"top"
>
<
span
className=
"text-gray-400 dark:text-gray-400"
>
#
{
memo
.
id
}
</
span
>
</
Tooltip
>
</
div
>
<
MemoContent
content=
{
memo
.
content
}
/>
<
MemoResourceListView
resourceList=
{
memo
.
resourceList
}
/>
<
MemoRelationListView
relationList=
{
referenceRelations
}
/>
{
memo
.
parent
&&
(
<
div
className=
"w-full mt-2"
>
<
Link
to=
{
`/m/${memo.parent.id}`
}
>
<
span
className=
"text-xs text-gray-400 opacity-80"
>
This is a comment of #
{
memo
.
parent
.
id
}
</
span
>
</
Link
>
</
div
>
)
}
<
div
className=
"w-full mt-4 flex flex-col sm:flex-row justify-start sm:justify-between sm:items-center gap-2"
>
<
div
className=
"flex flex-row justify-start items-center"
>
<
Link
to=
{
`/u/${encodeURIComponent(memo.creatorUsername)}`
}
>
...
...
web/src/pages/SignIn.tsx
View file @
1755c9dc
...
...
@@ -141,6 +141,7 @@ const SignIn = () => {
<
div
className=
"flex flex-row justify-end items-center w-full mt-6"
>
<
Button
className=
"w-full"
size=
"md"
type=
"submit"
disabled=
{
actionBtnLoadingState
.
isLoading
}
loading=
{
actionBtnLoadingState
.
isLoading
}
...
...
web/src/pages/SignUp.tsx
View file @
1755c9dc
...
...
@@ -107,6 +107,7 @@ const SignUp = () => {
<
div
className=
"flex flex-row justify-end items-center w-full mt-6"
>
<
Button
className=
"w-full"
size=
"md"
type=
"submit"
disabled=
{
actionBtnLoadingState
.
isLoading
}
loading=
{
actionBtnLoadingState
.
isLoading
}
...
...
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