mirror of
				https://github.com/usememos/memos.git
				synced 2025-11-01 01:06:04 +08:00 
			
		
		
		
	chore: revert tagList
This commit is contained in:
		
							parent
							
								
									2517ea5148
								
							
						
					
					
						commit
						13093b6f62
					
				
					 4 changed files with 9 additions and 8 deletions
				
			
		|  | @ -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> | ||||
|   ); | ||||
| }; | ||||
|  |  | |||
|  | @ -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; | ||||
|  |  | |||
|  | @ -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 { | ||||
|  |  | |||
|  | @ -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; | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue