UX: edit category description layout fix (#33565)

The `form-kit` container subtitle doesn't play well with the category
description. The issue experienced appears to be due to the flex
direction.

Since we can only update the category description from the topic and not
within the edit category page, I have moved the description to a
read-only span which follows a similar pattern that we use on other
forms.
This commit is contained in:
David Battersby
2025-07-10 19:56:54 +04:00
committed by GitHub
parent 3e735e62da
commit 16955d5dc4
@@ -258,8 +258,10 @@ export default class EditCategoryGeneral extends Component {
{{#if this.showDescription}}
<@form.Section @title={{i18n "category.description"}}>
<span class="readonly-field">{{this.categoryDescription}}</span>
{{#if @category.topic_url}}
<@form.Container @subtitle={{this.categoryDescription}}>
<@form.Container>
<@form.Button
@action={{this.showCategoryTopic}}
@icon="pencil"