summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-13 08:37:16 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-13 08:37:16 +0800
commitc9b78209ec79b6686e7a649d635531e06d49631f (patch)
tree60b4e8316a780166839f236694c54396c99ef511
parentbb4a0fec79187ae768b1a23ad50887d736edb9ba (diff)
added text clamp and hover expand and updates
-rw-r--r--pages/repo/github/repos.html2
-rw-r--r--src/js/getrepo.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/repo/github/repos.html b/pages/repo/github/repos.html
index 139a496d..55e7502b 100644
--- a/pages/repo/github/repos.html
+++ b/pages/repo/github/repos.html
@@ -20,7 +20,7 @@
<!-- main Github Functions -->
<main class="container">
- <section class="intro tilt">
+ <section class="intro tilt" data-tilt-reverse="false">
<div class="user-info animate animation--fast slideInTop"></div>
</section>
diff --git a/src/js/getrepo.js b/src/js/getrepo.js
index ab853d02..015f06bb 100644
--- a/src/js/getrepo.js
+++ b/src/js/getrepo.js
@@ -90,7 +90,7 @@ const displayRepos = (repos) => {
listItem.classList.add('repo');
listItem.innerHTML = `
<h2 class="repo-title">${repo.name}</h2>
- <span>${repo.description ? `<span>${repo.description}</span>` : ''}<br/><br/>`
+ <span class="rdescription">${repo.description ? `<span>${repo.description}</span>` : ''}<br/><br/>`
if (repo.stargazers_count > 0) {
listItem.innerHTML += `<a href="${starsUrl}">