Update profile display logic in Step2EnvSetup and modal components for consistency

- Changed profile display from 'realname' to 'username' and 'name' for better clarity and consistency across the application.
- Enhanced CSS for header alignment in multiple views, ensuring a centered layout for improved visual appeal.
This commit is contained in:
666ghj
2025-12-12 18:51:08 +08:00
parent f590784345
commit 307990d7b6
5 changed files with 30 additions and 5 deletions

View File

@@ -317,6 +317,7 @@ onMounted(async () => {
padding: 0 24px;
background: #FFF;
z-index: 100;
position: relative;
}
.brand {
@@ -327,6 +328,12 @@ onMounted(async () => {
cursor: pointer;
}
.header-center {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.view-switcher {
display: flex;
background: #F5F5F5;