Skip to content

Commit

Permalink
try fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Jul 1, 2024
1 parent 8c3d965 commit 3d92e99
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/layouts/Base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,23 @@ import Footer from "../components/Footer.astro";
<body class="text-base flex flex-col items-center">
<NavBar />

<main class="max-w-4xl m-4">
<main class="max-w-4xl mx-3">
<slot />

<Footer />
</main>

</body>
</html>

<style>
main {

}
</style>

<style is:global>
.astro-code {
overflow: scroll !important;
/* max-width: 100vw; */
overflow-x: scroll !important;
white-space: pre-wrap;
}

h1 {
Expand All @@ -45,6 +43,7 @@ import Footer from "../components/Footer.astro";
font-weight: 700;
font-size: 1.5em;
}

</style>

<script is:inline>
Expand Down

0 comments on commit 3d92e99

Please sign in to comment.