优化 职务图标 文字提示

This commit is contained in:
2026-04-22 10:18:49 +08:00
parent bef797abd5
commit 7c27ba0c48
3 changed files with 126 additions and 4 deletions
+26 -1
View File
@@ -444,6 +444,31 @@ a:hover {
color: #999;
}
.user-badge-icon {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.chat-hover-tooltip {
position: fixed;
z-index: 10030;
max-width: min(220px, calc(100vw - 16px));
padding: 5px 8px;
border: 1px solid #244d77;
border-radius: 4px;
background: linear-gradient(to bottom, #fffef2, #fff6c9);
color: #243b53;
font-size: 11px;
line-height: 1.4;
box-shadow: 0 6px 18px rgba(17, 34, 51, 0.24);
pointer-events: none;
white-space: normal;
word-break: break-word;
}
/* 在线人数统计 */
.online-stats {
background: var(--bg-bar);
@@ -901,4 +926,4 @@ a:hover {
#mobile-drawer-users {
display: none !important;
}
}
}