mirror of https://github.com/vector-im/riot-web
Add CSS class to truncate certain autocompletions
parent
1e569e67b1
commit
b4b33ae06f
|
@ -50,14 +50,16 @@
|
||||||
margin: 0 3px;
|
margin: 0 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Autocomplete_Completion_title,
|
.mx_Autocomplete_Completion_container_truncate {
|
||||||
.mx_Autocomplete_Completion_subtitle,
|
.mx_Autocomplete_Completion_title,
|
||||||
.mx_Autocomplete_Completion_description {
|
.mx_Autocomplete_Completion_subtitle,
|
||||||
/* Ellipsis for long names/subtitles/descriptions*/
|
.mx_Autocomplete_Completion_description {
|
||||||
max-width: 150px;
|
/* Ellipsis for long names/subtitles/descriptions*/
|
||||||
white-space: nowrap;
|
max-width: 150px;
|
||||||
overflow: hidden;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* container for pill-style completions */
|
/* container for pill-style completions */
|
||||||
|
|
Loading…
Reference in New Issue