Skip to content

Commit 462b8ae

Browse files
committed
Fix hn share location
1 parent e967300 commit 462b8ae

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/welcome/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -590,14 +590,14 @@ <h2>Themes</h2>
590590
#github_stars:hover {
591591
-webkit-filter: none;
592592
}
593-
.hn-share-iframe {
593+
.hn-share-button-wrapper {
594594
position: fixed;
595-
bottom: 36px;
596-
left: 225px;
595+
bottom: 29px;
596+
left: 227px;
597597
-webkit-filter: grayscale(1) contrast(1.3);
598598
z-index: 3;
599599
}
600-
.hn-share-iframe:hover {
600+
.hn-share-button-wrapper:hover {
601601
-webkit-filter: none;
602602
}
603603
</style>
@@ -608,8 +608,9 @@ <h2>Themes</h2>
608608
<div id="github_stars">
609609
<iframe src="http://ghbtns.com/github-btn.html?user=HubSpot&amp;repo=pace&amp;type=watch&amp;count=true&amp;size=small" allowtransparency="true" frameborder="0" scrolling="0" width="200" height="20"></iframe>
610610
</div>
611-
<a href="http://news.ycombinator.com/submit" class="hn-share-button" data-title="Automatically Add Loading Bars to Your Website" data-url="http://github.hubspot.com/pace/docs/welcome/?hn">Vote on HN</a>
612-
611+
<div class="hn-share-button-wrapper">
612+
<a href="http://news.ycombinator.com/submit" class="hn-share-button" data-title="Automatically Add Loading Bars to Your Website" data-url="http://github.hubspot.com/pace/docs/welcome/?hn">Vote on HN</a>
613+
</div>
613614
<script>
614615
(function(d, t) {
615616
var g = d.createElement(t),

0 commit comments

Comments
 (0)