Film
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Joakim Svensson 2025-04-19 09:05:34 +00:00
parent abe46ab2cc
commit 1578330e03
1 changed files with 11 additions and 7 deletions

View File

@ -1,12 +1,16 @@
.ascii-wrapper { .ascii-wrapper {
width: 100%;
overflow-x: auto; overflow-x: auto;
max-width: 100%; -webkit-overflow-scrolling: touch; /* för smooth scroll på mobil */
} }
@media (max-width: 768px) { .ascii-wrapper pre {
.ascii-wrapper pre code { display: table; /* Gör att den bara tar så mycket plats som behövs */
transform: scale(0.7); max-width: 100%; /* Begränsa till förälderns bredd */
transform-origin: top left; margin: 0 auto; /* Centrerar innehållet */
display: inline-block;
} }
.ascii-wrapper code {
white-space: pre; /* Bevara mellanrum och radbrytningar */
font-size: 1em; /* Behåll läsbar storlek */
} }