diff --git a/assets/style.css b/assets/style.css index fff8e96..053ac90 100644 --- a/assets/style.css +++ b/assets/style.css @@ -843,6 +843,10 @@ input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; padding display: flex; align-items: center; justify-content: center; height: 96px; font-size: 30px; background: var(--bg-soft); } +/* 批 8:详情页附件墙里的图标格 —— 和图片缩略图一样占满 4:3 格子 */ +.photo-card .attachment-icon { + height: 100%; aspect-ratio: 4 / 3; font-size: 34px; +} .attachment-meta { padding: 9px 11px; display: flex; align-items: center; gap: 6px; } .attachment-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; diff --git a/templates/nodes/show.php b/templates/nodes/show.php index 539522d..ff86373 100644 --- a/templates/nodes/show.php +++ b/templates/nodes/show.php @@ -57,7 +57,7 @@ if (!empty($node['duration_minutes'])) {