Skip to content

Commit c8516c4

Browse files
authored
fix: footer layout (#1925)
1 parent dc64b55 commit c8516c4

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

_includes/footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
<li>
1515
<span class="message">Hello from Seattle and Zürich.</span>
1616
</li>
17-
<li>
17+
<li class="github-button-container">
1818
<a class="github-button" href="https://github.com/Microsoft/language-server-protocol" data-icon="octicon-star" data-show-count="true" aria-label="Star Microsoft/language-server-protocol on GitHub">Star</a>
1919
</li>
20-
<li>
20+
<li class="github-button-container">
2121
<a class="github-button" href="https://github.com/Microsoft/language-server-protocol/subscription" aria-label="Watch Microsoft/language-server-protocol on GitHub">Watch</a>
2222
</li>
2323
</ul>
2424
</div>
25-
<div class="col-sm-2">
25+
<div class="col-sm-4">
2626
<ul class="links">
2727
<li style="display: none;" >
2828
<a id="footer-cookie-link" style="cursor: pointer; padding-right:20px" onclick="manageConsent()"

css/main.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,10 @@ pre[class=highlight] {
395395
padding: 0;
396396
}
397397

398+
.github-button-container {
399+
vertical-align: middle;
400+
}
401+
398402
.message {
399403
display: inline-block;
400404
padding-right: 10px;
@@ -412,7 +416,7 @@ pre[class=highlight] {
412416
padding-bottom: 10px;
413417

414418
@media (min-width: 576px) {
415-
display: inline-block;
419+
display: inline-flex;
416420
padding: 0;
417421
}
418422
}

0 commit comments

Comments
 (0)