patx/miadruck
Enhance scrolling and update link text
Commit 95e94db · Harrison Erd · 2026-01-09T04:46:10-05:00
Enhance scrolling and update link text Added smooth scrolling behavior and adjusted link text.
Comments
No comments yet.
Diff
diff --git a/index.html b/index.html
index 45aac2f..0983ab0 100644
--- a/index.html
+++ b/index.html
@@ -38,6 +38,15 @@
color:var(--text);
background:#fff;
}
+ html{
+ scroll-behavior: smooth;
+ scroll-padding-top: 84px;
+ }
+
+ /* Optional: if user prefers reduced motion */
+ @media (prefers-reduced-motion: reduce){
+ html{ scroll-behavior: auto; }
+ }
a{ color:inherit; text-decoration:none; }
.wrap{ width:min(var(--wrap), calc(100% - 36px)); margin:0 auto; }
@@ -996,7 +1005,7 @@
<div class="tags">${tags}</div>
<div class="card-actions">
<div class="btn-split">
- <a href="${esc(link)}" ${newTab}>See More</a>
+ <a href="${esc(link)}" ${newTab}>More Details</a>
<a href="#contact" onclick="prefillListing('${esc(x.id || x.title)}'); switchToContact();">Contact</a>
</div>
</div>