mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #6680 from SimonBrandner/fix/commands/18670
Fix command autocomplete
This commit is contained in:
commit
d442845cb9
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
/* a "block" completion takes up a whole line */
|
/* a "block" completion takes up a whole line */
|
||||||
.mx_Autocomplete_Completion_block {
|
.mx_Autocomplete_Completion_block {
|
||||||
height: 34px;
|
min-height: 34px;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
|
@ -95,7 +95,7 @@ export default class CommandProvider extends AutocompleteProvider {
|
||||||
renderCompletions(completions: React.ReactNode[]): React.ReactNode {
|
renderCompletions(completions: React.ReactNode[]): React.ReactNode {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="mx_Autocomplete_Completion_container_block"
|
className="mx_Autocomplete_Completion_container_pill"
|
||||||
role="presentation"
|
role="presentation"
|
||||||
aria-label={_t("Command Autocomplete")}
|
aria-label={_t("Command Autocomplete")}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue