[codex] add customizable profile avatars (#870)

* add customizable profile avatars

* keep profile avatar visible when sidebar collapses

* simplify collapsed profile avatar styling

* force managed gateway startup in docker

* limit gateway autostart to active profile

* restore all profile gateway autostart

* fix managed gateway runtime detection
This commit is contained in:
ekko
2026-05-20 14:15:01 +08:00
committed by GitHub
parent 663afb61ff
commit c90eba226d
27 changed files with 892 additions and 94 deletions
@@ -700,12 +700,46 @@ function openChangelog() {
}
}
// Hide selectors and footer text, keep theme switch
:deep(.profile-selector),
// Hide model selector in icon-rail mode, but keep the active profile avatar
// visible as the profile manager entry point.
:deep(.model-selector) {
display: none;
}
:deep(.profile-selector) {
display: flex;
justify-content: center;
padding: 8px 0;
margin: 0 0 6px;
border-top: 1px solid $border-color;
}
:deep(.profile-selector .selector-label),
:deep(.profile-selector .profile-name) {
display: none;
}
:deep(.profile-selector .profile-display) {
width: 36px;
height: 36px;
justify-content: center;
padding: 0;
gap: 0;
border: none;
border-radius: 0;
background: transparent;
}
:deep(.profile-selector .profile-display:hover) {
background: transparent;
}
:deep(.profile-selector .profile-avatar) {
width: 28px !important;
height: 28px !important;
flex-basis: 28px !important;
}
.sidebar-footer {
.logout-item {
margin: 0;