Skip to content

Commit 379a7f9

Browse files
Fixed recommendations title being hidden in some cases
1 parent 569c422 commit 379a7f9

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

assets/built/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,17 @@ Search LOGO Login Subscribe
18351835
top: calc(var(--grid-gap) / 2);
18361836
}
18371837

1838+
.gh-sidebar-title {
1839+
grid-column: 1 / -1;
1840+
margin-bottom: calc(var(--grid-gap) / 2);
1841+
padding-bottom: 12px;
1842+
font-size: 1.2rem;
1843+
font-weight: 550;
1844+
letter-spacing: 0.025em;
1845+
text-transform: uppercase;
1846+
border-bottom: 1px solid var(--color-border);
1847+
}
1848+
18381849
.gh-about {
18391850
display: flex;
18401851
flex-direction: column;

partials/components/post-list.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
</section>
105105
{{#if @site.recommendations_enabled}}
106106
<section class="gh-recommendations">
107-
<h4 class="gh-container-title">Recommendations</h4>
107+
<h4 class="gh-sidebar-title">Recommendations</h4>
108108
{{recommendations}}
109109
<button data-portal="recommendations">See all {{> "icons/arrow"}}</button>
110110
</section>

0 commit comments

Comments
 (0)