Fixar skalningen
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9b1704d286
commit
16a4d05d18
|
@ -1,22 +1,16 @@
|
||||||
.ascii-wrapper {
|
.ascii-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center; /* Centrerar horisontellt */
|
justify-content: center;
|
||||||
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;
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
background-color: #000; /* Svart bakgrund */
|
-webkit-overflow-scrolling: touch;
|
||||||
color: #0f0; /* Grön textfärg för bättre läsbarhet */
|
padding: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ascii-wrapper pre {
|
.ascii-wrapper pre {
|
||||||
display: block;
|
width: 100%;
|
||||||
text-align: center; /* Centrerar texten horisontellt */
|
|
||||||
margin: 0;
|
|
||||||
font-size: clamp(0.4rem, 1.2vw + 0.2rem, 0.75rem);
|
font-size: clamp(0.4rem, 1.2vw + 0.2rem, 0.75rem);
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
white-space: pre-wrap; /* Gör att texten kan radbryta om det behövs */
|
margin: 0;
|
||||||
word-break: break-word;
|
white-space: pre;
|
||||||
box-sizing: border-box;
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue