fix(Navbar):修复了短标题hover空白处会触发指示框的bug (#365)

fix(Navbar):修复了短标题hover空白处会触发指示框的bug
This commit is contained in:
离谱 2024-07-30 15:27:49 +08:00 committed by sudoooooo
parent 9ca27118c4
commit 15d93abea3

View File

@ -49,14 +49,13 @@ const hideFullTitle = () => {
<style lang="scss" scoped> <style lang="scss" scoped>
.title-container { .title-container {
position: relative; position: relative;
width: 280px; max-width: 280px;
} }
.title { .title {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
width: 100%;
cursor: pointer; cursor: pointer;
} }