fix: adjusted Git view layout

This commit is contained in:
Bohdan Triapitsyn
2025-12-19 11:55:35 +02:00
parent c74185d7ee
commit 53c805ff09
2 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -2847,7 +2847,7 @@ dependencies = [
[[package]] [[package]]
name = "openchamber-desktop" name = "openchamber-desktop"
version = "1.2.4" version = "1.2.5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@@ -676,13 +676,16 @@ export const GitView: React.FC = () => {
onRevertFile={handleRevertFile} onRevertFile={handleRevertFile}
/> />
) : ( ) : (
<div className="lg:col-span-2 flex justify-center">
<GitEmptyState <GitEmptyState
behind={status?.behind ?? 0} behind={status?.behind ?? 0}
onPull={() => handleSyncAction('pull')} onPull={() => handleSyncAction('pull')}
isPulling={syncAction === 'pull'} isPulling={syncAction === 'pull'}
/> />
</div>
)} )}
{changeEntries.length > 0 && (
<CommitSection <CommitSection
selectedCount={selectedCount} selectedCount={selectedCount}
commitMessage={commitMessage} commitMessage={commitMessage}
@@ -697,6 +700,7 @@ export const GitView: React.FC = () => {
commitAction={commitAction} commitAction={commitAction}
isBusy={isBusy} isBusy={isBusy}
/> />
)}
</div> </div>
{/* History below, constrained width */} {/* History below, constrained width */}