fix: make model-card click reliable and remove Tailwind CDN warning
- Use encoded model key in data attribute to avoid lookup mismatch - Decode key on click before resolving showByModel data - Guard localStorage writes with try/catch to avoid silent UI failures - Scroll details section into view when a card is clicked - Remove tailwindcdn script from template (use compiled CSS only)
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
<link rel="icon" href="/favicon.ico" sizes="any">
|
||||
<!-- Tailwind CSS (compiled for production) -->
|
||||
<link rel="stylesheet" href="/static/css/output.css">
|
||||
<!-- Fallback CDN for development (if output.css not available) -->
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<style>
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
|
||||
Reference in New Issue
Block a user