Bump API version and improve tooltip text wrapping in DocumentManager

- Update API version to 0224
- Add word-break: break-all to tooltip
- Improve pre tag text wrapping
- Enhance tooltip readability
This commit is contained in:
yangdx 2025-09-17 01:47:40 +08:00
parent 8f6287e27e
commit 983fe31af5
2 changed files with 7 additions and 1 deletions

View file

@ -1 +1 @@
__api_version__ = "0223"
__api_version__ = "0224"

View file

@ -91,6 +91,7 @@ const pulseStyle = `
z-index: 9999; /* Ensure tooltip appears above all other elements */
max-width: 600px;
white-space: normal;
word-break: break-all;
border-radius: 0.375rem;
padding: 0.5rem 0.75rem;
font-size: 0.75rem; /* 12px */
@ -113,6 +114,11 @@ const pulseStyle = `
color: black;
}
.tooltip pre {
white-space: pre-wrap;
word-break: break-all;
}
/* Position tooltip helper class */
.tooltip-helper {
position: absolute;