Skip to content

Commit 8daa0fc

Browse files
authored
Merge pull request element-hq#4502 from vector-im/luke/fix-rte-autocomplete-truncate
Truncate auto-complete pills properly
2 parents 43a70c2 + 65a160f commit 8daa0fc

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_Autocomplete.scss‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,16 @@
5050
margin: 0 3px;
5151
}
5252

53-
.mx_Autocomplete_provider_name,
54-
.mx_Autocomplete_Completion_title,
55-
.mx_Autocomplete_Completion_subtitle,
56-
.mx_Autocomplete_Completion_description {
57-
/* Ellipsis for long names/subtitles/descriptions*/
58-
max-width: 150px;
59-
white-space: nowrap;
60-
overflow: hidden;
61-
text-overflow: ellipsis;
53+
.mx_Autocomplete_Completion_container_truncate {
54+
.mx_Autocomplete_Completion_title,
55+
.mx_Autocomplete_Completion_subtitle,
56+
.mx_Autocomplete_Completion_description {
57+
/* Ellipsis for long names/subtitles/descriptions*/
58+
max-width: 150px;
59+
white-space: nowrap;
60+
overflow: hidden;
61+
text-overflow: ellipsis;
62+
}
6263
}
6364

6465
/* container for pill-style completions */

0 commit comments

Comments
 (0)