diff --git a/docs/extra.css b/docs/extra.css index b26d079..3af6f10 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -1,16 +1,14 @@ .ascii-wrapper { - width: 100%; + display: flex; + justify-content: center; overflow-x: auto; -webkit-overflow-scrolling: touch; - text-align: center; /* centrerar inline-block-barnet */ padding: 1rem 0; } .ascii-wrapper pre { - display: inline-block; /* gör så att max-width fungerar */ - max-width: 100%; - font-size: clamp(0.4rem, 1.2vw + 0.10rem, 1rem); /* skalar mjukt från små till stora skärmar */ + font-size: clamp(0.4rem, 1.2vw + 0.2rem, 1rem); line-height: 1.2; - white-space: pre; margin: 0; + white-space: pre; } \ No newline at end of file