fix tooltip positioning and add ellipsis to long recommendations (#10409)

This commit is contained in:
Kartik Gupta 2024-07-22 14:31:20 +05:30 committed by GitHub
parent 5402ca8ce1
commit 41c0111418
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 11 deletions

View file

@ -28,11 +28,6 @@
display: none !important;
}
.inspector {
.cm-base-autocomplete {
left: auto !important;
}
}
.cm-base-hint-info {
color: var(--text-default, #1B1F24) !important;
@ -135,9 +130,6 @@
}
}
li[aria-selected="true"] {
@ -148,12 +140,13 @@
// li > :first-child,
li> :nth-child(2) {
display: flex !important;
display: inline !important;
align-self: flex-start !important;
width: 100% !important;
text-wrap: nowrap !important;
// if the text is too long, it will be cut off
overflow: hidden !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
li> :last-child {

View file

@ -582,6 +582,7 @@ button {
background-color: var(--base);
background-clip: border-box;
height: 100vh;
z-index: 11;
.inspector {