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={ right={
<UserProfileMenu <UserProfileMenu
triggerLabel="Профиль" triggerLabel="Профиль"
+1
View File
@@ -233,6 +233,7 @@ Pill navigation для верхней панели и компактного п
передаёт только identity и действия. Настройки находятся в меню, отдельной передаёт только identity и действия. Настройки находятся в меню, отдельной
шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные
отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку. отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку.
На узком экране подпись скрывается по общей адаптивной механике; иконка и аватар остаются доступны.
Она использует Она использует
общий portal `Dropdown`, показывает identity cover с аватаром, именем и общий portal `Dropdown`, показывает identity cover с аватаром, именем и
+1
View File
@@ -3917,6 +3917,7 @@ textarea.nodedc-field__control {
overflow: auto; overflow: auto;
} }
.nodedc-header__profile-button,
.nodedc-user-profile-menu__trigger-label { .nodedc-user-profile-menu__trigger-label {
display: none; display: none;
} }
+2 -1
View File
@@ -664,7 +664,8 @@
"profile identity card", "profile identity card",
"theme-independent cover", "theme-independent cover",
"action links and callbacks", "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": [ "rules": [
"The component owns menu geometry and profile presentation; the application owns settings, profile and logout actions.", "The component owns menu geometry and profile presentation; the application owns settings, profile and logout actions.",