fix(web/ui): align project heading left and keep add-repo button near title

This commit is contained in:
Developer
2026-06-16 21:00:47 +00:00
parent 889c598129
commit 39bac24100
+26 -3
View File
@@ -2,7 +2,6 @@
.project-info-row { .project-info-row {
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
gap: var(--space-3); gap: var(--space-3);
flex-wrap: wrap; flex-wrap: wrap;
@@ -20,6 +19,26 @@
padding: var(--space-2); padding: var(--space-2);
border-radius: var(--radius-md); border-radius: var(--radius-md);
flex: 1; flex: 1;
justify-content: flex-start;
min-width: 0;
}
.project-toggle > div {
min-width: 0;
flex: 1;
}
.project-toggle h3 {
margin: 0;
font-size: var(--font-size-lg);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.project-actions {
margin-left: auto;
flex-shrink: 0;
} }
.project-toggle:hover { .project-toggle:hover {
@@ -53,11 +72,15 @@
.project-repos-header { .project-repos-header {
display: flex; display: flex;
align-items: flex-start; align-items: center;
justify-content: space-between; justify-content: flex-start;
gap: var(--space-3); gap: var(--space-3);
} }
.project-repos-header .btn {
margin-left: var(--space-2);
}
.project-repos-header .config-section-title { .project-repos-header .config-section-title {
margin-bottom: 0; margin-bottom: 0;
} }