diff --git a/frontend/src/views/chat/ChatTokenTime.vue b/frontend/src/views/chat/ChatTokenTime.vue index e1e2ca7a..dcdfb375 100644 --- a/frontend/src/views/chat/ChatTokenTime.vue +++ b/frontend/src/views/chat/ChatTokenTime.vue @@ -49,6 +49,20 @@ function getLogList() { margin-left: auto; display: flex; align-items: center; + position: relative; + &:hover { + &::after { + content: ''; + background: #1f23291a; + border-radius: 6px; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 84px; + height: 26px; + position: absolute; + } + } } } diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 3d8b7c82..3c791d6e 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -1175,6 +1175,8 @@ onMounted(() => { border-radius: 0 12px 12px 0; .no-horizontal.ed-scrollbar { + position: relative; + z-index: 10; .ed-scrollbar__bar.is-horizontal { display: none; } @@ -1195,8 +1197,6 @@ onMounted(() => { align-items: center; padding-left: 56px; padding-right: 56px; - position: relative; - z-index: 10; &.no-sidebar { padding-left: 96px;