mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user