Fix responsiveness issues

This commit is contained in:
JasterV 2025-06-05 22:00:23 +02:00
parent c071e9d3c1
commit 622dab44cd
2 changed files with 8 additions and 2 deletions

View file

@ -32,7 +32,7 @@ The application consists of:
Let's look at a diagram of the whole system first:
<div align="center">
<div class="diagram" align="center">
```d2 width="500" theme=303 title="Lock door flow"
direction: down

View file

@ -177,9 +177,15 @@ a:hover {
color: var(--link-hover-color);
}
/* Fix responsiveness issues */
/* Fix responsiveness issues with code blocks */
.astro-code code {
display: block;
width: 0;
font-size: 16px;
}
/* Fix responsiveness issues with generated diagrams */
.diagram img {
max-width: 100% !important;
height: auto !important;
}