From c6a813f90c6107e8bd916a1a78ca0372c81420d1 Mon Sep 17 00:00:00 2001 From: biss Date: Sat, 18 Jul 2026 11:54:59 +0800 Subject: [PATCH] bug fix --- src/styles/global.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 4763916..e6b2103 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -407,10 +407,12 @@ h1 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; + align-items: start; } .memory-card { - min-height: 190px; + height: 220px; + min-height: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); overflow: hidden; @@ -431,7 +433,7 @@ h1 { .memory-card-visual { width: 100%; height: 100%; - min-height: 190px; + min-height: 0; object-fit: cover; } @@ -449,6 +451,7 @@ h1 { display: flex; flex-direction: column; align-items: flex-start; + overflow: hidden; padding: 20px; } @@ -460,9 +463,13 @@ h1 { } .memory-card-copy > strong { + display: -webkit-box; + overflow: hidden; margin-top: 7px; font-size: 19px; line-height: 1.35; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; } .memory-card-text { @@ -2780,6 +2787,7 @@ h2 { } .memory-card { + height: auto; grid-template-columns: 1fr; }