mirror of
https://github.com/ivabus/www
synced 2024-11-22 01:35:05 +03:00
GitHub icon no longer jumps
This commit is contained in:
parent
b2a861a767
commit
9c81b7112d
2 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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> <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>
|
||||
|
|
Loading…
Reference in a new issue