This commit is contained in:
Thomas Chartron 2021-11-17 20:29:28 +01:00
parent 3428629c08
commit 87cfeb7a91
3 changed files with 4 additions and 3 deletions

View file

@ -24,5 +24,5 @@ html {
@apply py-4; @apply py-4;
} }
#page-content pre { #page-content pre {
@apply py-2 my-4; @apply py-2 my-4 overflow-x-auto;
} }

View file

@ -48144,6 +48144,7 @@ html {
#page-content pre { #page-content pre {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
overflow-x: auto;
padding-top: 0.5rem; padding-top: 0.5rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }

View file

@ -7,7 +7,7 @@
</h1> </h1>
</div> </div>
<div class="flex"> <div class="flex">
<div class="flex sm:w-3/4 w-full border border-2 border-gray-200 dark:border-black rounded-xl p-5 shadow-2xl bg-gray-200 dark:bg-gray-800"> <div class="flex flex-col sm:w-3/4 w-full border border-2 border-gray-200 dark:border-black rounded-xl p-5 shadow-2xl bg-gray-200 dark:bg-gray-800">
<div class="flex flex-col py-2 justify-center"> <div class="flex flex-col py-2 justify-center">
<!-- <h2 class="text-2xl text-bold"><a href='{{ page.permalink }}'>{{ page.title }}</a></h2> --> <!-- <h2 class="text-2xl text-bold"><a href='{{ page.permalink }}'>{{ page.title }}</a></h2> -->
@ -94,7 +94,7 @@
</div> </div>
<!-- Content --> <!-- Content -->
<div class="text-bold mt-2"> <div id="page-content" class="text-bold mt-2">
{{ page.content | safe }} {{ page.content | safe }}
</div> </div>