Fixar skalningen
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Joakim Svensson 2025-04-19 10:37:56 +00:00
parent 9b1704d286
commit 16a4d05d18
1 changed files with 7 additions and 13 deletions

View File

@ -1,22 +1,16 @@
.ascii-wrapper {
display: flex;
justify-content: center; /* Centrerar horisontellt */
align-items: center; /* Centrerar vertikalt om höjd är definierad */
width: 100%;
height: 100%; /* Om du vill att det ska vara centrerat även vertikalt */
padding: 1rem 0;
justify-content: center;
overflow-x: auto;
background-color: #000; /* Svart bakgrund */
color: #0f0; /* Grön textfärg för bättre läsbarhet */
-webkit-overflow-scrolling: touch;
padding: 1rem 0;
}
.ascii-wrapper pre {
display: block;
text-align: center; /* Centrerar texten horisontellt */
margin: 0;
width: 100%;
font-size: clamp(0.4rem, 1.2vw + 0.2rem, 0.75rem);
line-height: 1.2;
white-space: pre-wrap; /* Gör att texten kan radbryta om det behövs */
word-break: break-word;
box-sizing: border-box;
margin: 0;
white-space: pre;
}
}