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