diff --git a/sass/project.scss b/sass/project.scss index e127696..1f2ecad 100644 --- a/sass/project.scss +++ b/sass/project.scss @@ -1,14 +1,19 @@ //.language-yaml { pre { - display:flex; - align-items: center; - min-height: 3rem; - white-space: pre-wrap; - word-wrap: break-word; + display: block; + max-width: 100%; overflow-x: auto; - padding: .5rem; - margin: .5rem 0; + overflow-y: auto; + padding: 0.5rem; + margin: 0.5rem 0; border-radius: 5px; + white-space: pre; +} + +code { + display: inline-block; + word-break: break-word; + white-space: pre-wrap; } .project-wrapper {