Skip to content

Commit

Permalink
Fixed recommendations title being hidden in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaluminium committed Oct 25, 2023
1 parent 569c422 commit 379a7f9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,17 @@ Search LOGO Login Subscribe
top: calc(var(--grid-gap) / 2);
}

.gh-sidebar-title {
grid-column: 1 / -1;
margin-bottom: calc(var(--grid-gap) / 2);
padding-bottom: 12px;
font-size: 1.2rem;
font-weight: 550;
letter-spacing: 0.025em;
text-transform: uppercase;
border-bottom: 1px solid var(--color-border);
}

.gh-about {
display: flex;
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion partials/components/post-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</section>
{{#if @site.recommendations_enabled}}
<section class="gh-recommendations">
<h4 class="gh-container-title">Recommendations</h4>
<h4 class="gh-sidebar-title">Recommendations</h4>
{{recommendations}}
<button data-portal="recommendations">See all {{> "icons/arrow"}}</button>
</section>
Expand Down

0 comments on commit 379a7f9

Please sign in to comment.