website: the feature cards just hold their text now
The dialog is gone. It showed the same paragraph that was already on the card, only unclamped — so a click bought you nothing, which is a bad trade for making fourteen cards look like something you have to interact with. The cards are plain <article>s now and the text is simply on them, no line clamp. What is left of the click: four cards point into the docs — importing, self-hosting, the MCP server, backups — where there genuinely is more to read. Those are ordinary links at the foot of their card rather than a click target covering the whole box. Cards are a little wider (250-310px) to carry the full text without turning into columns of two words, and the rail still snaps and scrolls the same way. Verified in the browser at 1440 and 390: fourteen cards, no dialog left in the DOM, no buttons inside the rail, all four docs links present, nothing clipped (every .fcard-b has scrollHeight == clientHeight), every card the same height, still flush with the text above, no horizontal overflow, no JS errors.
This commit is contained in:
1 parent
1290db11b5
commit
5314b342ff
5 files changed
+50
-148
No files matched your search
+2
-2
@@ -9,7 +9,7 @@
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="icon-512.png">
|
||||
<link rel="icon" type="image/png" sizes="180x180" href="icon-180.png">
|
||||
<link rel="apple-touch-icon" href="icon-180.png">
|
||||
<link rel="stylesheet" href="styles.css?v=8">
|
||||
<link rel="stylesheet" href="styles.css?v=9">
|
||||
<script>document.documentElement.className += ' js'</script>
|
||||
<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->
|
||||
<script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>
|
||||
@@ -209,6 +209,6 @@ docker compose up -d</code></pre>
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<script src="site.js?v=8" defer></script>
|
||||
<script src="site.js?v=9" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user