Skip to content

Commit

Permalink
ui: edit resources collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Khodl committed Sep 12, 2024
1 parent 511f2a7 commit 6a4ec18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ p {
opacity: .7;
}

.intro {
.with-intro p:first-child, .intro {
font-size: 1.3em;
}

Expand Down
6 changes: 3 additions & 3 deletions templates/resource/collection.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
{{ block('title') }}
</h1>

<p class="intro">
{{ collection.description }}
</p>
<div class="with-intro">
{{ collection.description|markdown_to_html }}
</div>

<div class="alternate">

Expand Down
4 changes: 1 addition & 3 deletions templates/resource/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
</a>
</h2>

<p>
{{ collection.description }}
</p>
{{ collection.description|markdown_to_html }}

</div>
{% endfor %}
Expand Down

0 comments on commit 6a4ec18

Please sign in to comment.