Apply new structure in the section that shows the comments icon together with the number of comments so that it is easier to unify them into one component. Please note that we updated the comment-number class to comments-count in order to simplify the css in the new component in the next commit.
15 lines
536 B
Plaintext
15 lines
536 B
Plaintext
<details open=open class="calc-comments">
|
|
<summary class="draft-panel">
|
|
<span class="icon-comments" aria-hidden="true"></span>
|
|
<span class="panel-title"><%= t("legislation.draft_versions.show.text_comments") %></span>
|
|
</summary>
|
|
|
|
<div id="comments-box" class="comments-box-container" style="display: none;">
|
|
<div class="comment-box">
|
|
<div class="comment-header">
|
|
<span class="comments-count"><%= t("legislation.draft_versions.show.loading_comments") %></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</details>
|