fix(ui): keep canonical profile clear of mobile header controls

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 13:18:56 +03:00
parent 55fa5fa6bc
commit 06cb8ad4cd
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -2160,6 +2160,7 @@ export function CatalogApp() {
/>
</>
}
// The shared profile owns its responsive label; consumers do not size it.
right={
<UserProfileMenu
triggerLabel="Профиль"
+1
View File
@@ -233,6 +233,7 @@ Pill navigation для верхней панели и компактного п
передаёт только identity и действия. Настройки находятся в меню, отдельной
шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные
отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку.
На узком экране подпись скрывается по общей адаптивной механике; иконка и аватар остаются доступны.
Она использует
общий portal `Dropdown`, показывает identity cover с аватаром, именем и
+1
View File
@@ -3917,6 +3917,7 @@ textarea.nodedc-field__control {
overflow: auto;
}
.nodedc-header__profile-button,
.nodedc-user-profile-menu__trigger-label {
display: none;
}
+2 -1
View File
@@ -664,7 +664,8 @@
"profile identity card",
"theme-independent cover",
"action links and callbacks",
"outside pointer and Escape close"
"outside pointer and Escape close",
"responsive profile label hides with the shared mobile header layout"
],
"rules": [
"The component owns menu geometry and profile presentation; the application owns settings, profile and logout actions.",