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
390e29f8
Unverified
Commit
390e29f8
authored
Mar 08, 2023
by
boojack
Committed by
GitHub
Mar 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove part of less files (#1314)
parent
3a466ad2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
35 deletions
+3
-35
AboutSiteDialog.tsx
web/src/components/AboutSiteDialog.tsx
+1
-2
ChangeMemoCreatedTsDialog.tsx
web/src/components/ChangeMemoCreatedTsDialog.tsx
+2
-3
about-site-dialog.less
web/src/less/about-site-dialog.less
+0
-13
change-memo-created-ts-dialog.less
web/src/less/change-memo-created-ts-dialog.less
+0
-17
No files found.
web/src/components/AboutSiteDialog.tsx
View file @
390e29f8
...
...
@@ -3,7 +3,6 @@ import { useGlobalStore } from "../store/module";
import
Icon
from
"./Icon"
;
import
{
generateDialog
}
from
"./Dialog"
;
import
GitHubBadge
from
"./GitHubBadge"
;
import
"../less/about-site-dialog.less"
;
type
Props
=
DialogProps
;
...
...
@@ -27,7 +26,7 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
<
Icon
.
X
/>
</
button
>
</
div
>
<
div
className=
"
dialog-content-container
"
>
<
div
className=
"
flex flex-col justify-start items-start max-w-full
"
>
<
p
className=
"text-sm"
>
{
customizedProfile
.
description
||
"No description"
}
</
p
>
<
div
className=
"mt-4 flex flex-row text-sm justify-start items-center"
>
<
div
className=
"flex flex-row justify-start items-center mr-2"
>
...
...
web/src/components/ChangeMemoCreatedTsDialog.tsx
View file @
390e29f8
...
...
@@ -5,7 +5,6 @@ import { useMemoStore } from "../store/module";
import
Icon
from
"./Icon"
;
import
{
generateDialog
}
from
"./Dialog"
;
import
toastHelper
from
"./Toast"
;
import
"../less/change-memo-created-ts-dialog.less"
;
interface
Props
extends
DialogProps
{
memoId
:
MemoId
;
...
...
@@ -69,7 +68,7 @@ const ChangeMemoCreatedTsDialog: React.FC<Props> = (props: Props) => {
<
Icon
.
X
/>
</
button
>
</
div
>
<
div
className=
"
dialog-content-container
"
>
<
div
className=
"
flex flex-col justify-start items-start !w-72 max-w-full
"
>
<
p
className=
"w-full bg-yellow-100 border border-yellow-400 rounded p-2 text-xs leading-4"
>
THIS IS NOT A NORMAL BEHAVIOR. PLEASE MAKE SURE YOU REALLY NEED IT.
</
p
>
...
...
@@ -80,7 +79,7 @@ const ChangeMemoCreatedTsDialog: React.FC<Props> = (props: Props) => {
max=
{
maxDatetimeValue
}
onChange=
{
handleDatetimeInputChange
}
/>
<
div
className=
"
btns-container
"
>
<
div
className=
"
flex flex-row justify-end items-center mt-2 w-full
"
>
<
span
className=
"btn-text"
onClick=
{
handleCloseBtnClick
}
>
{
t
(
"common.cancel"
)
}
</
span
>
...
...
web/src/less/about-site-dialog.less
deleted
100644 → 0
View file @
3a466ad2
.about-site-dialog {
> .dialog-container {
@apply w-112 max-w-full;
> .dialog-content-container {
@apply flex flex-col justify-start items-start;
> p {
@apply my-1;
}
}
}
}
web/src/less/change-memo-created-ts-dialog.less
deleted
100644 → 0
View file @
3a466ad2
.change-memo-created-ts-dialog {
> .dialog-container {
@apply w-72;
> .dialog-content-container {
@apply flex flex-col justify-start items-start;
> .tip-text {
@apply bg-gray-400 text-xs p-2 rounded-lg;
}
> .btns-container {
@apply flex flex-row justify-end items-center mt-2 w-full;
}
}
}
}
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