From b5e57a261e03ead61fd2b256cef835b1964ffdb5 Mon Sep 17 00:00:00 2001 From: Neboer Date: Mon, 9 Sep 2024 23:41:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=9A=E8=A7=A3=E5=86=B3=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=88=86=E8=AF=8D=E9=A1=B6=E5=87=BA=E5=B1=8F=E5=B9=95?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=81=E8=A7=A3=E5=86=B3=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E9=A1=B5=E9=9D=A2=E8=BE=B9=E8=B7=9D=E8=BF=87?= =?UTF-8?q?=E5=A4=A7=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/nboat/layout/post.ejs | 2 +- themes/nboat/source/css/partial/layout.styl | 2 +- themes/nboat/source/css/partial/post.styl | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/themes/nboat/layout/post.ejs b/themes/nboat/layout/post.ejs index e780c75..30c7eb2 100644 --- a/themes/nboat/layout/post.ejs +++ b/themes/nboat/layout/post.ejs @@ -1,5 +1,5 @@
-
+
<% if (is_post()) { %>
diff --git a/themes/nboat/source/css/partial/layout.styl b/themes/nboat/source/css/partial/layout.styl index 1a42e61..d44f3aa 100644 --- a/themes/nboat/source/css/partial/layout.styl +++ b/themes/nboat/source/css/partial/layout.styl @@ -1,6 +1,6 @@ .body-container width 1440px - max-width 95% + max-width calc(100% - 23px) margin auto & > div:not(:last-child) margin-bottom 20px diff --git a/themes/nboat/source/css/partial/post.styl b/themes/nboat/source/css/partial/post.styl index 0b137e3..8774706 100644 --- a/themes/nboat/source/css/partial/post.styl +++ b/themes/nboat/source/css/partial/post.styl @@ -116,6 +116,7 @@ + .blog-menu max-width 30% @@ -136,4 +137,7 @@ @media (max-width grid-breakpoints-md) .post-details - max-width 100% \ No newline at end of file + max-width 100% + + * + word-wrap break-word \ No newline at end of file