fix: tighten create page spacing

This commit is contained in:
a.tolmachev
2026-03-26 10:50:28 +03:00
parent aab06faa8a
commit ff3a44eef6
2 changed files with 33 additions and 6 deletions
+5 -6
View File
@@ -2,17 +2,16 @@
## Current ## Current
### `feat/ui-concept-alignment` ### `feat/ui-width-spacing`
Status: completed Status: completed
DoD: DoD:
- shell и create flow визуально опираются на утвержденный concept - рабочая область create page не растягивается на всю ширину экрана
- sidebar, topbar и page header выглядят как единая продуктовая система - step cards имеют нормальные внутренние отступы
- create page больше не выглядит как длинная сырая форма, а как step-based contract builder - поля и редакторы не липнут к левому краю
- кодовые JSON и mapping поля имеют отдельную визуальную подачу - UI build остается зеленым
- UI build и tests остаются зелеными после выравнивания под concept
## Next ## Next
+28
View File
@@ -316,7 +316,10 @@ button {
} }
.main-content { .main-content {
width: 100%;
max-width: 1480px;
padding: 28px; padding: 28px;
margin: 0 auto;
flex: 1; flex: 1;
} }
@@ -400,6 +403,11 @@ button {
gap: 16px; gap: 16px;
} }
.builder-stack {
width: 100%;
max-width: 1320px;
}
.page-section, .page-section,
.builder-card, .builder-card,
.operation-card, .operation-card,
@@ -425,9 +433,16 @@ button {
align-items: flex-start; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
gap: 12px; gap: 12px;
}
.section-header {
margin-bottom: 16px; margin-bottom: 16px;
} }
.builder-card-header {
padding: 20px 24px 0;
}
.section-header h2, .section-header h2,
.builder-card-header h2 { .builder-card-header h2 {
margin: 0 0 2px; margin: 0 0 2px;
@@ -452,6 +467,7 @@ button {
.builder-card-body { .builder-card-body {
display: grid; display: grid;
gap: 16px; gap: 16px;
padding: 0 24px 24px;
} }
.proto-grid { .proto-grid {
@@ -920,6 +936,7 @@ button {
} }
.field-inline { .field-inline {
width: 100%;
max-width: 420px; max-width: 420px;
} }
@@ -1096,6 +1113,10 @@ pre {
.main-content { .main-content {
padding: 20px; padding: 20px;
} }
.builder-stack {
max-width: none;
}
} }
@media (max-width: 820px) { @media (max-width: 820px) {
@@ -1116,4 +1137,11 @@ pre {
.hero-metrics { .hero-metrics {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.builder-card-header,
.builder-card-body,
.page-section {
padding-left: 16px;
padding-right: 16px;
}
} }