GitHub icon no longer jumps

This commit is contained in:
Thomas Smith 2023-03-09 13:18:46 -05:00
parent b2a861a767
commit 9c81b7112d
2 changed files with 5 additions and 1 deletions

View file

@ -181,6 +181,10 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
var release = JSON.parse(localStorage.getItem('dataRelease')).tag_name;
$(".stargazers").html(stargazers).hide().fadeIn(400);
$(".release").html(release).hide().fadeIn(400);
// Reserve the space for the stargazers element
var stargazersWidth = $(".stargazers").width();
$(".content").css("min-width", stargazersWidth);
});
}
});

View file

@ -13,7 +13,7 @@
</li>
{{ end }}
<li class="nav-item mt-lg-0 mt-md-0 mt-sm-3 mt-3 top-nav-item">
<a class="nav-link" aria-current="page" href="https://github.com/teaxyz/cli/stargazers"><i class="icon-github" style="position:relative;top:2px;"></i> <span class="stargazers"></span></a>
<a class="nav-link" aria-current="page" href="https://github.com/teaxyz/cli/stargazers" style="min-width:75px;"><i class="icon-github" style="position:relative;top:2px;float:left;"></i>&nbsp;<span class="stargazers"></span></a>
</li>
<li class="nav-item mt-lg-0 mt-md-0 mt-sm-3 mt-3 top-nav-item">
<a class="nav-link" aria-current="page" href="https://discord.gg/tea-906608167901876256"><i class="icon-discord" style="position:relative;top:2px;"></i></a>