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={
|
right={
|
||||||
<UserProfileMenu
|
<UserProfileMenu
|
||||||
triggerLabel="Профиль"
|
triggerLabel="Профиль"
|
||||||
|
|||||||
@@ -233,6 +233,7 @@ Pill navigation для верхней панели и компактного п
|
|||||||
передаёт только identity и действия. Настройки находятся в меню, отдельной
|
передаёт только identity и действия. Настройки находятся в меню, отдельной
|
||||||
шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные
|
шестерёнки после аватара нет. Нельзя добавлять внешнюю обёртку или локальные
|
||||||
отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку.
|
отступы. Все три элемента открывают меню; Escape возвращает фокус на вызвавшую кнопку.
|
||||||
|
На узком экране подпись скрывается по общей адаптивной механике; иконка и аватар остаются доступны.
|
||||||
|
|
||||||
Она использует
|
Она использует
|
||||||
общий portal `Dropdown`, показывает identity cover с аватаром, именем и
|
общий portal `Dropdown`, показывает identity cover с аватаром, именем и
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.",
|
||||||
|
|||||||
Reference in New Issue
Block a user