fix: made sidebar navigation a bit bigger in annotation view

This commit is contained in:
averel10
2026-04-17 09:06:11 +02:00
parent 39cdc50fa8
commit 86e9f628fb
2 changed files with 4 additions and 4 deletions

View File

@@ -180,7 +180,7 @@ export default function AnnotationPageView({
<div className="flex flex-col h-full bg-white"> <div className="flex flex-col h-full bg-white">
<div className="flex flex-1 overflow-hidden"> <div className="flex flex-1 overflow-hidden">
{/* Sidebar with transition */} {/* Sidebar with transition */}
<div className={`${sidebarOpen ? 'w-64' : 'w-0'} transition-all duration-300 ease-in-out overflow-hidden`}> <div className={`${sidebarOpen ? 'w-68' : 'w-0'} transition-all duration-300 ease-in-out overflow-hidden`}>
<AnnotationSidebarNavigation <AnnotationSidebarNavigation
entries={entries} entries={entries}
currentIndex={currentIndex} currentIndex={currentIndex}
@@ -215,7 +215,7 @@ export default function AnnotationPageView({
<div className="flex flex-col h-full bg-white"> <div className="flex flex-col h-full bg-white">
<div className="flex flex-1 overflow-hidden"> <div className="flex flex-1 overflow-hidden">
{/* Sidebar with transition */} {/* Sidebar with transition */}
<div className={`${sidebarOpen ? 'w-64' : 'w-0'} transition-all duration-300 ease-in-out overflow-hidden`}> <div className={`${sidebarOpen ? 'w-68' : 'w-0'} transition-all duration-300 ease-in-out overflow-hidden`}>
<AnnotationSidebarNavigation <AnnotationSidebarNavigation
entries={entries} entries={entries}
currentIndex={currentIndex} currentIndex={currentIndex}
@@ -261,7 +261,7 @@ export default function AnnotationPageView({
<div className="flex flex-col h-full bg-white"> <div className="flex flex-col h-full bg-white">
<div className="flex flex-1 overflow-hidden"> <div className="flex flex-1 overflow-hidden">
{/* Sidebar with transition */} {/* Sidebar with transition */}
<div className={`${sidebarOpen ? 'w-64' : 'w-0'} transition-all duration-300 ease-in-out overflow-hidden`}> <div className={`${sidebarOpen ? 'w-68' : 'w-0'} transition-all duration-300 ease-in-out overflow-hidden`}>
<AnnotationSidebarNavigation <AnnotationSidebarNavigation
entries={entries} entries={entries}
currentIndex={currentIndex} currentIndex={currentIndex}

View File

@@ -24,7 +24,7 @@ export default function AnnotationSidebarNavigation({
}, [currentIndex]); }, [currentIndex]);
return ( return (
<aside className="hidden md:flex md:flex-col w-64 h-full bg-gray-50 border-r border-gray-200 p-4 overflow-hidden"> <aside className="hidden md:flex md:flex-col w-68 h-full bg-gray-50 border-r border-gray-200 p-4 overflow-hidden">
{/* Header - fixed at top */} {/* Header - fixed at top */}
<div className="mb-6 flex-shrink-0"> <div className="mb-6 flex-shrink-0">
<h2 className="font-semibold text-gray-900 mb-2">Fortschritt</h2> <h2 className="font-semibold text-gray-900 mb-2">Fortschritt</h2>