Fixed recommendations title being hidden in some cases

This commit is contained in:
Sodbileg Gansukh
2023-10-25 12:58:01 +08:00
parent 569c4226a0
commit 379a7f9e2c
4 changed files with 14 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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;

View File

@@ -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>