tailwind fix

This commit is contained in:
m
2026-03-14 16:02:58 +01:00
parent 809f182e66
commit cc4d32665f
2 changed files with 21 additions and 0 deletions

13
static/js/timeline.js Normal file
View File

@@ -0,0 +1,13 @@
function toggleTimeline(id, dot) {
const el = document.getElementById(id);
if (el.style.display === "none") {
el.style.display = "block";
dot.textContent = "";
dot.classList.remove("collapsed");
} else {
el.style.display = "none";
dot.textContent = "+";
dot.classList.add("collapsed");
}
}

View File

@@ -21,7 +21,15 @@
href="{{ url_for('static', filename='css/blog.css') }}"
rel="stylesheet"
/>
<script>
tailwind.config = {
corePlugins: {
preflight: false,
},
};
</script>
<script src="https://cdn.tailwindcss.com"></script>
<script src="{{ url_for('static', filename='js/timeline.js') }}"></script>
</head>
<body>