1
0
mirror of synced 2026-08-07 08:16:54 +00:00

UX: Prevent input text from covering suggestion button (#212)

This commit is contained in:
Keegan George
2023-09-07 11:52:00 -07:00
committed by GitHub
parent 0828254d61
commit 087be9f4da
2 changed files with 2 additions and 3 deletions
@@ -43,7 +43,6 @@ export default class AISuggestionDropdown extends Component {
</template>
@service dialog;
@service site;
@service siteSettings;
@service composer;
@tracked loading = false;
@@ -106,7 +105,7 @@ export default class AISuggestionDropdown extends Component {
}
if (this.args.mode === this.SUGGESTION_TYPES.category) {
const selectedCategoryId = this.site.categories.find((c) => c.slug === suggestion).id;
const selectedCategoryId = this.composer.categories.find((c) => c.slug === suggestion).id;
composer.set("categoryId", selectedCategoryId);
return this.#closeMenu();
}
@@ -205,7 +205,7 @@
position: absolute;
top: 1px;
right: 1px;
background: none;
background: var(--secondary);
border: none;
}