fix(ui): improve file mention autocomplete display for long filenames (#519)
- Increased max-width of the autocomplete container from 520px to 640px. - Updated truncatePathMiddle maxLength from 45 to 60 for better visibility. - Added a fade-out mask to the marquee container to prevent abrupt clipping.
This commit is contained in:
@@ -300,6 +300,8 @@ textarea[data-chat-input="true"]:focus-visible {
|
||||
.file-mention-marquee-container {
|
||||
--file-mention-marquee-width: 360px;
|
||||
--file-mention-marquee-duration: 4s;
|
||||
mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
|
||||
-webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
|
||||
}
|
||||
|
||||
.file-mention-marquee {
|
||||
|
||||
Reference in New Issue
Block a user