}
+
+
setProjectName("Обновлено")}>}
diff --git a/docs/WINDOWS_AND_LAYERS.md b/docs/WINDOWS_AND_LAYERS.md
index a126ced..4d63ce6 100644
--- a/docs/WINDOWS_AND_LAYERS.md
+++ b/docs/WINDOWS_AND_LAYERS.md
@@ -119,3 +119,5 @@ Stack workspace-окон остаётся контролируемым прил
## Контекстные действия заголовка
`Window.headerActions` и `FeatureSettingsWindow.headerActions` принимают канонические `IconButton`. Обновление содержимого находится рядом с закрытием; сохранение и отмена формы остаются в footer. Слот входит в focus trap окна, а клики по действиям не начинают перетаскивание. Pending/disabled задаёт владелец данных; закрытие остаётся доступным.
+
+На узком экране центрированное окно учитывает padding своего overlay с обеих сторон. В `FeatureSettingsWindow` меню занимает высоту содержимого, а оставшаяся высота отдана прокручиваемой форме. Проверочный пример «Настройки модуля» находится в живом каталоге окон; проверять в том числе на ширине 390 px.
diff --git a/packages/ui-core/styles.css b/packages/ui-core/styles.css
index f708241..7673e2a 100644
--- a/packages/ui-core/styles.css
+++ b/packages/ui-core/styles.css
@@ -3856,8 +3856,14 @@ textarea.nodedc-field__control {
height: calc(100vh - 1rem);
}
+ .nodedc-window[data-placement="center"] {
+ max-width: calc(100vw - 2 * var(--nodedc-space-5));
+ max-height: min(48rem, calc(100vh - 2 * var(--nodedc-space-5)));
+ }
+
.nodedc-feature-settings {
- grid-template-columns: 1fr;
+ grid-template-columns: minmax(0, 1fr);
+ grid-template-rows: auto minmax(0, 1fr);
}
.nodedc-feature-settings__navigation {
diff --git a/registry/components.json b/registry/components.json
index 557dcc5..9a420d5 100644
--- a/registry/components.json
+++ b/registry/components.json
@@ -380,6 +380,7 @@
"rules": [
"The window owns settings-shell geometry only; forms, API calls and authorization remain application-owned.",
"FeatureSettingsWindow composes the canonical Window and must not create a second portal or focus trap.",
+ "At narrow widths, keep the window within the overlay padding and size navigation to its content; the content row receives the remaining height.",
"Module colors are supplied through the active NODE.DC Design Profile rather than hard-coded product CSS."
]
},