mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-03 02:21:44 +00:00
style(web): align class ordering with CI formatter
This commit is contained in:
parent
c3b7c4a9b4
commit
1b1691bfe6
2 changed files with 4 additions and 4 deletions
|
|
@ -390,7 +390,7 @@ export const CodeReferencesPanel = ({ onFocusNode }: CodeReferencesPanelProps) =
|
|||
<X className="h-4 w-4" />
|
||||
</button>
|
||||
</div>
|
||||
<div ref={selectedViewerRef} className="min-h-0 flex-1 scrollbar-thin overflow-auto">
|
||||
<div ref={selectedViewerRef} className="scrollbar-thin min-h-0 flex-1 overflow-auto">
|
||||
{isLoadingFile ? (
|
||||
<div className="flex items-center justify-center gap-2 py-8 text-text-muted">
|
||||
<Loader2 className="h-4 w-4 animate-spin" />
|
||||
|
|
@ -463,7 +463,7 @@ export const CodeReferencesPanel = ({ onFocusNode }: CodeReferencesPanelProps) =
|
|||
{t('graph:codePanel.references', { count: aiReferences.length })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="min-h-0 flex-1 scrollbar-thin space-y-3 overflow-y-auto p-3">
|
||||
<div className="scrollbar-thin min-h-0 flex-1 space-y-3 overflow-y-auto p-3">
|
||||
{refsWithSnippets.map(
|
||||
({ ref, content, start, highlightStart, highlightEnd, totalLines }) => {
|
||||
const nodeColor = ref.label
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ export const FileTreePanel = ({ onFocusNode }: FileTreePanelProps) => {
|
|||
</div>
|
||||
|
||||
{/* File tree */}
|
||||
<div className="flex-1 scrollbar-thin overflow-y-auto py-2">
|
||||
<div className="scrollbar-thin flex-1 overflow-y-auto py-2">
|
||||
{fileTree.length === 0 ? (
|
||||
<div className="px-3 py-4 text-center text-xs text-text-muted">
|
||||
{t('graph:fileTree.noFilesLoaded')}
|
||||
|
|
@ -417,7 +417,7 @@ export const FileTreePanel = ({ onFocusNode }: FileTreePanelProps) => {
|
|||
)}
|
||||
|
||||
{activeTab === 'filters' && (
|
||||
<div className="flex-1 scrollbar-thin overflow-y-auto p-3">
|
||||
<div className="scrollbar-thin flex-1 overflow-y-auto p-3">
|
||||
<div className="mb-3">
|
||||
<h3 className="mb-2 text-xs font-medium tracking-wide text-text-secondary uppercase">
|
||||
{t('graph:fileTree.nodeTypes')}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue