chore: revert tagList

pull/49/head
boojack 3 years ago
parent 2517ea5148
commit 13093b6f62

@ -5,8 +5,9 @@ import showDailyMemoDiaryDialog from "./DailyMemoDiaryDialog";
import showSettingDialog from "./SettingDialog"; import showSettingDialog from "./SettingDialog";
import showMemoTrashDialog from "./MemoTrashDialog"; import showMemoTrashDialog from "./MemoTrashDialog";
import UserBanner from "./UserBanner"; import UserBanner from "./UserBanner";
import ShortcutList from "./ShortcutList";
import UsageHeatMap from "./UsageHeatMap"; import UsageHeatMap from "./UsageHeatMap";
import ShortcutList from "./ShortcutList";
import TagList from "./TagList";
import "../less/siderbar.less"; import "../less/siderbar.less";
interface Props {} interface Props {}
@ -53,6 +54,7 @@ const Sidebar: React.FC<Props> = () => {
</button> </button>
</div> </div>
<ShortcutList /> <ShortcutList />
<TagList />
</aside> </aside>
); );
}; };

@ -7,7 +7,7 @@
> .dialog-content-container { > .dialog-content-container {
.flex(column, flex-start, flex-start); .flex(column, flex-start, flex-start);
@apply w-full overflow-y-scroll; @apply w-full overflow-y-auto;
> .tip-text-container { > .tip-text-container {
@apply w-full h-32; @apply w-full h-32;

@ -2,7 +2,7 @@
.shortcuts-wrapper { .shortcuts-wrapper {
.flex(column, flex-start, flex-start); .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(); .hide-scroll-bar();
> .title-text { > .title-text {

@ -2,17 +2,16 @@
.tags-wrapper { .tags-wrapper {
.flex(column, flex-start, flex-start); .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(); .hide-scroll-bar();
> .title-text { > .title-text {
@apply w-full py-1 px-4 text-xs opacity-50; @apply w-full py-1 px-4 text-xs font-mono text-gray-400;
color: @text-black;
} }
> .tags-container { > .tags-container {
.flex(column, flex-start, flex-start); .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 { .subtags-container {
.flex(column, flex-start, flex-start); .flex(column, flex-start, flex-start);
@ -80,7 +79,7 @@
@apply w-full mt-2 pl-4 text-xs text-gray-400; @apply w-full mt-2 pl-4 text-xs text-gray-400;
> .code-text { > .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;
} }
} }
} }

Loading…
Cancel
Save