Skip to content

Commit 5f37960

Browse files
committed
fix: description field not appearing for link type posts
1 parent 064e9cb commit 5f37960

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/news/v3/create.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h1 class="create-post-page__title">Create Post</h1>
6767
<p class="field__help" id="field-content-help" x-show="!errors.content">This editor supports Markdown: headings, lists, code blocks, links, and more.</p>
6868
</div>
6969

70-
<div class="create-post-page__description-field" :style="isLinkType ? '' : 'display: none'">
70+
<div class="field create-post-page__description-field" :style="isLinkType ? 'display:flex' : 'display: none'">
7171
{% include "v3/includes/_field_textarea.html" with name="content" field_id="description" label="Description" value=form.content.value|default_if_none:"" alpine_error="errors.content" error=form.content.errors.0 alpine_disabled_expr="isWriteUp" %}
7272
</div>
7373

0 commit comments

Comments
 (0)