refactor: sidebar color

This commit is contained in:
hypercross 2026-03-25 09:42:58 +08:00
parent 028074e4f1
commit 32e91f7dc8
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ const SidebarContent: Component<SidebarContentProps> = (props) => {
return ( return (
<div class="flex flex-col h-full"> <div class="flex flex-col h-full">
<div class="p-4 border-b"> <div class="p-4 border-b border-b-gray-200">
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<h2 class="text-lg font-bold text-gray-900"></h2> <h2 class="text-lg font-bold text-gray-900"></h2>
<Show when={!props.isDesktop}> <Show when={!props.isDesktop}>
@ -63,7 +63,7 @@ const SidebarContent: Component<SidebarContentProps> = (props) => {
{/* 当前文件标题滚动区域 */} {/* 当前文件标题滚动区域 */}
<Show when={currentFileHeadings().length > 0}> <Show when={currentFileHeadings().length > 0}>
<div class="flex-1 border-t overflow-y-auto p-4 min-h-0"> <div class="flex-1 border-t-gray-200 border-t overflow-y-auto p-4 min-h-0">
<h3 class="text-xs font-semibold text-gray-500 uppercase mb-2 px-2"> <h3 class="text-xs font-semibold text-gray-500 uppercase mb-2 px-2">
</h3> </h3>