From 4800a30e6df3e3a6d0ea3822898afbce2a183ba0 Mon Sep 17 00:00:00 2001 From: feco Date: Thu, 26 Nov 2026 13:47:07 +0000 Subject: [PATCH] Forum: the sky card's and the companions' links as rows too Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL --- services/frontend/src/app/forum/forum.css | 6 ++--- services/frontend/src/app/forum/page.tsx | 32 ++++++++++++++++++----- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/services/frontend/src/app/forum/forum.css b/services/frontend/src/app/forum/forum.css index c60596c..3be9797 100644 --- a/services/frontend/src/app/forum/forum.css +++ b/services/frontend/src/app/forum/forum.css @@ -192,7 +192,6 @@ body:has(.forum[data-theme="light"]) .site-footer { background: #0d1220; } .fh-sky-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .fh-sky-text h2 { font-size: 24px; line-height: 1.15; } .fh-sky-text p { color: var(--ink-2); font-size: 16px; } -.fh-sky-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 15px; } .fh-waiting-grid { display: grid; gap: 12px; } @media (min-width: 760px) { .fh-waiting-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } } .fh-me { display: flex; flex-direction: column; gap: 14px; } @@ -624,8 +623,6 @@ a.fh-online-item:hover { color: var(--gold); } display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .fanswer-time { font-size: 12px; color: var(--muted); white-space: nowrap; } -.fh-me-waiting { font-size: 14px; color: var(--harmonic); text-decoration: none; } -.fh-me-waiting:hover { text-decoration: underline; } /* The reply box at the bottom of a branch, where the answers to that post go. */ .ftv-inline { @@ -660,3 +657,6 @@ a.fh-online-item:hover { color: var(--gold); } .fh-link-text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 15px; font-weight: 500; } .fh-link-text .hint { font-size: 13px; font-weight: 400; } .fh-link-arrow { color: var(--muted); font-size: 20px; line-height: 1; } +/* The same row at the foot of a card, or framed inside one. */ +.fh-link-foot { margin: 14px -18px -18px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; } +.fh-link-boxed { min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; } diff --git a/services/frontend/src/app/forum/page.tsx b/services/frontend/src/app/forum/page.tsx index 936e7a3..7a80bd4 100644 --- a/services/frontend/src/app/forum/page.tsx +++ b/services/frontend/src/app/forum/page.tsx @@ -77,8 +77,18 @@ function SkyCard({ sky }: { sky: SkyNow }) {

{MOON_IN_SIGN[sign]}

- - Holdnaptár és a következő holdfázisok + + + + Holdnaptár + A következő holdfázisok + + ); @@ -268,10 +278,20 @@ export default async function ForumHomePage() { {waiting !== null && waiting > 0 && ( - - {waiting === 1 - ? "1 meghallgatást kérő szál vár válaszra" - : `${waiting} meghallgatást kérő szál vár válaszra`} + + + + {waiting === 1 ? "1 szál vár első válaszra" : `${waiting} szál vár első válaszra`} + Meghallgatást kérnek, még senki nem válaszolt + + )}