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
dedea0dd
Commit
dedea0dd
authored
Mar 23, 2022
by
email
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: tags initial
parent
da1ccabd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
30 deletions
+12
-30
MemoList.tsx
web/src/components/MemoList.tsx
+1
-0
create-shortcut-dialog.less
web/src/less/create-shortcut-dialog.less
+11
-30
No files found.
web/src/components/MemoList.tsx
View file @
dedea0dd
...
...
@@ -81,6 +81,7 @@ const MemoList: React.FC<Props> = () => {
.
fetchAllMemos
()
.
then
(()
=>
{
setFetchStatus
(
false
);
memoService
.
updateTagsState
();
})
.
catch
(()
=>
{
toastHelper
.
error
(
"😭 Refresh failed, please try again later."
);
...
...
web/src/less/create-shortcut-dialog.less
View file @
dedea0dd
...
...
@@ -2,47 +2,30 @@
.create-shortcut-dialog {
> .dialog-container {
width: 420px
;
@apply w-128
;
> .dialog-content-container {
.flex(column, flex-start, flex-start);
> .form-item-container {
.flex(row, flex-start, flex-start);
width: 100%;
margin-top: 8px;
padding: 4px 0;
@apply w-full mt-2 py-1;
> .normal-text {
display: block;
flex-shrink: 0;
width: 40px;
margin-right: 12px;
text-align: right;
@apply block flex-shrink-0 w-12 mr-3 text-right text-sm leading-8;
color: gray;
font-size: 13px;
line-height: 32px;
}
> .title-input {
width: 100%;
padding: 0 8px;
font-size: 13px;
line-height: 32px;
border-radius: 4px;
border: 1px solid @bg-gray;
resize: none;
@apply w-full px-2 text-base leading-8 rounded border resize-none;
}
> .filters-wrapper {
width: calc(100% - 56px);
.flex(column, flex-start, flex-start);
@apply w-full;
> .create-filter-btn {
color: @text-green;
font-size: 13px;
line-height: 32px;
cursor: pointer;
@apply text-sm leading-8 cursor-pointer text-green-500 hover:text-green-600;
}
}
}
...
...
@@ -50,8 +33,7 @@
> .dialog-footer-container {
.flex(row, space-between, center);
width: 100%;
margin-top: 0;
@apply w-full mt-0;
> .btns-container {
.flex(row, flex-start, center);
...
...
@@ -108,21 +90,20 @@
flex-shrink: 0;
&.relation-selector {
width: 48px
;
margin-left: -
52
px;
@apply w-16
;
margin-left: -
68
px;
}
&.type-selector {
width: 62px
;
@apply w-20
;
}
&.operator-selector {
width: 62px
;
@apply w-24
;
}
&.value-selector {
flex-grow: 1;
max-width: calc(100% - 152px);
}
}
...
...
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