From 4a69cc817d0ec6ed3eb4a5a35fbfdba7e1924353 Mon Sep 17 00:00:00 2001 From: westernavenue <141945337+Willwesternavenue@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:19:00 +0900 Subject: [PATCH] comment style etc minor update --- db/database.sqlite | Bin 69632 -> 69632 bytes public/css/styles.css | 6 +++--- public/js/commentRenderer.js | 1 + public/js/scripts-top.js | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/db/database.sqlite b/db/database.sqlite index dc923f5a7f20cf9b14fa156874600f2d1f32e683..55238f865c39dabc11f622d993d63dcb1f15554c 100644 GIT binary patch delta 26 icmZozz|ydQWr8&0=7}=SjGH$mc-b?iY+h|2dI11|VG0cZ delta 26 icmZozz|ydQWr8&0^ocUgjMFzJc-b?0Y+h|2dI11^jS0B` diff --git a/public/css/styles.css b/public/css/styles.css index fe0ed26..d54e092 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -137,7 +137,7 @@ a:hover { } .section h3 { - margin-bottom: 15px; + text-align: center; color: var(--color-dark-blue); font-size: 20px; } @@ -320,7 +320,7 @@ max-height: calc(1.4em * 2); /* 2行分の高さ (行数に合わせて計 .other-issue-card h4.issue-title { color: var(--color-primary); - font-size: 0.95em; /* フォントサイズを縮小 */ + font-size: 0.9em; /* フォントサイズを縮小 */ margin-bottom: 6px; /* マージンを縮小 */ white-space: normal; /* 通常の折り返しを有効化 */ overflow-wrap: break-word; /* 単語途中でも折り返し可能に */ @@ -394,7 +394,7 @@ max-height: calc(1.4em * 2); /* 2行分の高さ (行数に合わせて計 border-radius: var(--border-radius); cursor: pointer; transition: background-color var(--transition-speed), color var(--transition-speed); - font-size: 0.75em; /* フォントサイズを縮小 */ + font-size: 0.7em; /* フォントサイズを縮小 */ } .action-buttons button:hover { diff --git a/public/js/commentRenderer.js b/public/js/commentRenderer.js index 740e1c0..565a707 100644 --- a/public/js/commentRenderer.js +++ b/public/js/commentRenderer.js @@ -26,6 +26,7 @@ export function renderCommentsByStance(comments, yesContainerId, noContainerId)