mirror of
https://codeberg.org/JasterV/jaster.xyz.git
synced 2026-04-26 18:10:01 +00:00
Fix responsiveness issues
This commit is contained in:
parent
c071e9d3c1
commit
622dab44cd
2 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue