fix: made sidebar navigation a bit bigger in annotation view
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user