feat: 添加用户头像和名称显示功能到顶部栏
This commit is contained in:
@@ -69,6 +69,27 @@
|
||||
background-color: var(--primary-color);
|
||||
color: var(--primary-contrast-color);
|
||||
}
|
||||
|
||||
&.layout-topbar-user {
|
||||
width: auto;
|
||||
height: auto;
|
||||
border-radius: var(--content-border-radius);
|
||||
padding: 0.25rem 0.75rem;
|
||||
justify-content: flex-start;
|
||||
gap: 0.5rem;
|
||||
|
||||
span {
|
||||
display: inline;
|
||||
max-width: 12rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.p-avatar {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.layout-menu-button {
|
||||
|
||||
Reference in New Issue
Block a user