Merge pull request #6680 from SimonBrandner/fix/commands/18670

Fix command autocomplete
This commit is contained in:
Travis Ralston 2021-08-25 13:34:13 -06:00 committed by GitHub
commit d442845cb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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")}
> >