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

This commit is contained in:
Joakim Svensson 2025-04-19 16:01:05 +00:00
parent e3040dfb39
commit b9021b0c7c
1 changed files with 1 additions and 12 deletions

View File

@ -1,18 +1,9 @@
.ascii-wrapper { .ascii-wrapper {
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
width: 100vw;
display: flex; display: flex;
justify-content: center; justify-content: center;
overflow-x: auto; overflow-x: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
padding: 1rem 0; padding: 1rem 0;
background-color: var(--md-code-bg-color); /* eller t.ex. #000 för svart */
box-sizing: border-box;
} }
.ascii-wrapper pre { .ascii-wrapper pre {
@ -20,6 +11,4 @@
line-height: 1.2; line-height: 1.2;
margin: 0; margin: 0;
white-space: pre; white-space: pre;
color: #0f0; /* Valfritt, men ser ofta snyggt ut */
background: transparent; /* Viktigt så du inte får en mindre bakgrund */
} }