Skip to content

Commit

Permalink
Правит баблы комментов
Browse files Browse the repository at this point in the history
  • Loading branch information
solarrust committed Jan 14, 2025
1 parent c37166f commit d9bf0a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,15 @@ <h3 class="pull-request-name">#1191 Рефакторинг меню</h3>
<h3 class="top-item-title">Комментарии</h3>
<p class="top-item-subtitle">в наиболее обсуждаемых пулреквестах</p>
<div class="top-content">
<div class="comments first float"><a href="#" class="comments-link">#1191</a><span>150 комментариев</span>
<div class="comments first float"><a href="#" class="comments-link">Рефакторинг меню #1191<span
class="comments-count">150
💬</span></a>
</div>
<div class="comments second float"><a href="#" class="comments-link">#1191</a><span>100 комментариев</span>
<div class="comments second float"><a href="#" class="comments-link">#1191<span class="comments-count">100
💬</span></a>
</div>
<div class="comments third float"><a href="#" class="comments-link">#1191</a><span>50 комментариев</span>
<div class="comments third float"><a href="#" class="comments-link"><span class="comments-count">50
💬</span></a>
</div>
</div>
</label>
Expand Down
5 changes: 5 additions & 0 deletions styles/top-section.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@
font-size: clamp(1rem, 0.875rem + 0.556vw, 1.375rem);
background-color: var(--main-color);

& .comments-count {
display: block;
text-align: center;
}

&.second {
inset-block-start: 32%;
inset-inline-end: 60%;
Expand Down

0 comments on commit d9bf0a0

Please sign in to comment.