Skip to content

Commit

Permalink
Чинит выделение ведущих
Browse files Browse the repository at this point in the history
  • Loading branch information
BANOnotIT committed Oct 10, 2024
1 parent bc3a1e3 commit 94b7f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/pages/episode.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
<h2 class="podcast__hosts-heading">Ведущие:</h2>
<ul class="podcast__hosts-list">
{% for host in episode.data.hosts %}
<li class="podcast__host">{{ host }}</li>
<li class="podcast__host">
{{ host }}{% if not loop.last %},{% endif %}
</li>
{% endfor %}
</ul>
</section>
Expand Down
5 changes: 0 additions & 5 deletions src/styles/blocks/podcast.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@
display: inline;
}

.podcast__host:not(:last-child)::after {
content: ', ';
white-space: nowrap;
}

.podcast__player {
position: sticky;
top: 16px;
Expand Down

0 comments on commit 94b7f16

Please sign in to comment.