From a8fc3929fef02e4385d4150f9be8fa8bd405731b Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Sun, 30 Jul 2023 15:47:38 +0800 Subject: [PATCH] Update Layout.astro --- src/layouts/Layout.astro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 3de3c8d..1f42880 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -67,8 +67,7 @@ const { title, description } = Astro.props; code { font-family: Menlo, Monaco, Lucida Console, Liberation Mono, - DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, - monospace; + DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; } nav { @@ -83,4 +82,8 @@ const { title, description } = Astro.props; a.preview { text-decoration: none; } + + code { + max-width: 100%; + }