Skip to content

Commit

Permalink
fix ctajs demo
Browse files Browse the repository at this point in the history
  • Loading branch information
chinchang committed May 30, 2024
1 parent 0a14429 commit c006a35
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions lab/ctajs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,16 @@
top: 10px;
left: 10px;
}
.github-ribbon {
position: fixed;
inset: 0 0 auto auto;
background: black;
padding: 0.5rem 1rem;
}
</style>
<script>
window._gaq = window._gaq || [];
</script>
</head>
<body>
<h1 class="main-title">cta.js</h1>
Expand Down Expand Up @@ -496,12 +505,7 @@ <h3>Do you think this is Awesome?</h3>
>Tweet</a
>

<a class="github-ribbon" href="https://github.com/chinchang/cta.js"
><img
style="position: fixed; top: 0; right: 0; border: 0"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"
alt="Fork me on GitHub"
/></a>
<a class="github-ribbon" href="https://github.com/chinchang/cta.js"></a>

<script src="dist/cta.min.js"></script>
<script>
Expand Down Expand Up @@ -558,7 +562,5 @@ <h3>Do you think this is Awesome?</h3>
id="github-bjs"
src="https://buttons.github.io/buttons.js"
></script>

{% include 'analytics.html' %}
</body>
</html>

0 comments on commit c006a35

Please sign in to comment.