fix(ui): keep canonical profile clear of mobile header controls
This commit is contained in:
@@ -2160,6 +2160,7 @@ export function CatalogApp() {
|
||||
/>
|
||||
</>
|
||||
}
|
||||
// The shared profile owns its responsive label; consumers do not size it.
|
||||
right={
|
||||
<UserProfileMenu
|
||||
triggerLabel="Профиль"
|
||||
|
||||
@@ -233,6 +233,7 @@ Pill navigation для верхней панели и компактного п
|
||||
передаёт только identity и действия. Настройки находятся в меню, отдельной
|
||||
шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные
|
||||
отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку.
|
||||
На узком экране подпись скрывается по общей адаптивной механике; иконка и аватар остаются доступны.
|
||||
|
||||
Она использует
|
||||
общий portal `Dropdown`, показывает identity cover с аватаром, именем и
|
||||
|
||||
@@ -3917,6 +3917,7 @@ textarea.nodedc-field__control {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.nodedc-header__profile-button,
|
||||
.nodedc-user-profile-menu__trigger-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user