Skip to content

Commit

Permalink
fix: footer layout (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 authored Apr 22, 2024
1 parent dc64b55 commit c8516c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<li>
<span class="message">Hello from Seattle and Zürich.</span>
</li>
<li>
<li class="github-button-container">
<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>
</li>
<li>
<li class="github-button-container">
<a class="github-button" href="https://github.com/Microsoft/language-server-protocol/subscription" aria-label="Watch Microsoft/language-server-protocol on GitHub">Watch</a>
</li>
</ul>
</div>
<div class="col-sm-2">
<div class="col-sm-4">
<ul class="links">
<li style="display: none;" >
<a id="footer-cookie-link" style="cursor: pointer; padding-right:20px" onclick="manageConsent()"
Expand Down
6 changes: 5 additions & 1 deletion css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ pre[class=highlight] {
padding: 0;
}

.github-button-container {
vertical-align: middle;
}

.message {
display: inline-block;
padding-right: 10px;
Expand All @@ -412,7 +416,7 @@ pre[class=highlight] {
padding-bottom: 10px;

@media (min-width: 576px) {
display: inline-block;
display: inline-flex;
padding: 0;
}
}
Expand Down

0 comments on commit c8516c4

Please sign in to comment.