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
13093b6f
Commit
13093b6f
authored
May 02, 2022
by
boojack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: revert tagList
parent
2517ea51
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
Sidebar.tsx
web/src/components/Sidebar.tsx
+3
-1
memo-trash-dialog.less
web/src/less/memo-trash-dialog.less
+1
-1
shortcut-list.less
web/src/less/shortcut-list.less
+1
-1
tag-list.less
web/src/less/tag-list.less
+4
-5
No files found.
web/src/components/Sidebar.tsx
View file @
13093b6f
...
...
@@ -5,8 +5,9 @@ import showDailyMemoDiaryDialog from "./DailyMemoDiaryDialog";
import
showSettingDialog
from
"./SettingDialog"
;
import
showMemoTrashDialog
from
"./MemoTrashDialog"
;
import
UserBanner
from
"./UserBanner"
;
import
ShortcutList
from
"./ShortcutList"
;
import
UsageHeatMap
from
"./UsageHeatMap"
;
import
ShortcutList
from
"./ShortcutList"
;
import
TagList
from
"./TagList"
;
import
"../less/siderbar.less"
;
interface
Props
{}
...
...
@@ -53,6 +54,7 @@ const Sidebar: React.FC<Props> = () => {
</
button
>
</
div
>
<
ShortcutList
/>
<
TagList
/>
</
aside
>
);
};
...
...
web/src/less/memo-trash-dialog.less
View file @
13093b6f
...
...
@@ -7,7 +7,7 @@
> .dialog-content-container {
.flex(column, flex-start, flex-start);
@apply w-full overflow-y-
scroll
;
@apply w-full overflow-y-
auto
;
> .tip-text-container {
@apply w-full h-32;
...
...
web/src/less/shortcut-list.less
View file @
13093b6f
...
...
@@ -2,7 +2,7 @@
.shortcuts-wrapper {
.flex(column, flex-start, flex-start);
@apply w-full py-0 px-2 mt-
1 h-auto grow shrink
flex-nowrap;
@apply w-full py-0 px-2 mt-
2 h-auto shrink-0
flex-nowrap;
.hide-scroll-bar();
> .title-text {
...
...
web/src/less/tag-list.less
View file @
13093b6f
...
...
@@ -2,17 +2,16 @@
.tags-wrapper {
.flex(column, flex-start, flex-start);
@apply px-2 w-full h-auto flex-nowrap pb-4 grow;
@apply px-2 w-full h-auto flex-nowrap pb-4
mt-2
grow;
.hide-scroll-bar();
> .title-text {
@apply w-full py-1 px-4 text-xs opacity-50;
color: @text-black;
@apply w-full py-1 px-4 text-xs font-mono text-gray-400;
}
> .tags-container {
.flex(column, flex-start, flex-start);
@apply relative w-full h-auto flex-nowrap mb-2;
@apply relative w-full h-auto flex-nowrap mb-2
mt-1
;
.subtags-container {
.flex(column, flex-start, flex-start);
...
...
@@ -80,7 +79,7 @@
@apply w-full mt-2 pl-4 text-xs text-gray-400;
> .code-text {
@apply p-1 mx-1 text-blue-400 whitespace-pre-line bg-blue-100 rounded;
@apply p-1 mx-1 text-blue-400
font-mono
whitespace-pre-line bg-blue-100 rounded;
}
}
}
...
...
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