fix: adjusted Git view layout
This commit is contained in:
Generated
+1
-1
@@ -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 */}
|
||||||
|
|||||||
Reference in New Issue
Block a user