mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
fix: update styling and accessibility in various components
- Simplified text in DocumentsTableShell for clarity. - Enhanced RightPanel styling for better visual consistency. - Adjusted ChatListItem styles for improved interaction. - Updated ReportPanelContent to include background styling and improved layout. - Modified Drawer and FixedToolbar components for better UI integration.
This commit is contained in:
parent
440f5aec72
commit
9321d27021
7 changed files with 49 additions and 22 deletions
|
|
@ -103,7 +103,7 @@ export function RightPanel({ documentsPanel }: RightPanelProps) {
|
|||
return (
|
||||
<aside
|
||||
style={{ width: targetWidth }}
|
||||
className="flex h-full shrink-0 flex-col rounded-xl border bg-background overflow-hidden transition-[width] duration-200 ease-out"
|
||||
className="flex h-full shrink-0 flex-col rounded-xl border bg-sidebar text-sidebar-foreground overflow-hidden transition-[width] duration-200 ease-out"
|
||||
>
|
||||
<div className="relative flex-1 min-h-0 overflow-hidden">
|
||||
{effectiveTab === "sources" && documentsOpen && documentsPanel && (
|
||||
|
|
@ -117,9 +117,9 @@ export function RightPanel({ documentsPanel }: RightPanelProps) {
|
|||
</div>
|
||||
)}
|
||||
{effectiveTab === "report" && reportOpen && (
|
||||
<div className="h-full">
|
||||
<div className="h-full flex flex-col">
|
||||
<ReportPanelContent
|
||||
reportId={reportState.reportId!}
|
||||
reportId={reportState.reportId as number}
|
||||
title={reportState.title || "Report"}
|
||||
onClose={closeReport}
|
||||
shareToken={reportState.shareToken}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue