From 7fc9616858e966a4c9b2a30945454972aad70b8b Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sat, 17 Jun 2023 16:41:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 1 - templates/modules/layouts/layout.html | 4 ++++ templates/modules/moment.html | 20 +++++++++++++------- templates/moments.html | 6 +++--- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/settings.yaml b/settings.yaml index 033961c1..84547bed 100644 --- a/settings.yaml +++ b/settings.yaml @@ -517,7 +517,6 @@ spec: - $formkit: text name: url label: 链接 - validation: "url" - $formkit: radio name: urlType label: 链接类型 diff --git a/templates/modules/layouts/layout.html b/templates/modules/layouts/layout.html index d7c855f0..21d6508f 100644 --- a/templates/modules/layouts/layout.html +++ b/templates/modules/layouts/layout.html @@ -28,6 +28,10 @@ + + + +
- - + + +
    From 513fd47bbb9bdcc9fbf716d561ef0ee193e57063 Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sat, 17 Jun 2023 17:15:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/css/main.css | 7 ++++--- templates/moments.html | 23 +++++++++++++++++------ 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/templates/assets/css/main.css b/templates/assets/css/main.css index 465fd779..fdc902a6 100644 --- a/templates/assets/css/main.css +++ b/templates/assets/css/main.css @@ -11627,7 +11627,7 @@ figure.gallery-group:hover .gallery-group-name::after { #bber .timeline ul li.item { position: relative; - width: 32%; + width: 30%; border: var(--style-border-always); border-radius: 12px; padding: 1rem 1rem 0.5rem; @@ -11723,7 +11723,7 @@ figure.gallery-group:hover .gallery-group-name::after { /* 每条动态 */ #bber div.bber-content { - display: flex; + /*display: flex;*/ flex-direction: initial; flex-wrap: wrap; border-radius: 12px; @@ -11910,7 +11910,7 @@ figure.gallery-group:hover .gallery-group-name::after { } /* 内容 */ -#bber .bber-content .datacont { +#bber .bber-content p { order: 0; font-size: 0.8rem; font-weight: bold; @@ -11922,6 +11922,7 @@ figure.gallery-group:hover .gallery-group-name::after { display: flex; flex-direction: column; text-align: justify; + overflow-wrap: break-word; } /* 设备 */ diff --git a/templates/moments.html b/templates/moments.html index c2411941..94893fe9 100644 --- a/templates/moments.html +++ b/templates/moments.html @@ -31,14 +31,16 @@ +
    -
      -
    • -
      -

      -
      - +
        +
      • +
        +
    +