From 38591a3b929f20958e02d9e4c32dbc922f97adce Mon Sep 17 00:00:00 2001 From: OFF0 Date: Wed, 2 Aug 2023 12:50:08 +0200 Subject: [PATCH] feed: fix nesting layout bug under some circumstances the reply-to lines on 3rd level did not correctly visualize the nesting of the thread. fixed and added links to test cases. --- src/styles/cards.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/styles/cards.css b/src/styles/cards.css index ec818c6..2e9ec6c 100644 --- a/src/styles/cards.css +++ b/src/styles/cards.css @@ -124,8 +124,8 @@ a.mbox-img:focus { .mbox-replies .mbox-replies .mbox-replies { --reply-padding: 0; } -/* direct replies */ -.mbox-replies .mbox-replies .mbox::before { +/* direct replies, test with http://localhost:8001/note1aer8780aywqqlfgjjch75uqmkujcdj4edv009nuludwq7w46lkvssclaxx */ +.mbox-replies .mbox-replies .mbox:first-child::before { background: none; border-color: var(--bgcolor-inactive);; border-style: solid; @@ -172,8 +172,9 @@ a.mbox-img:focus { .mbox-has-replies .mbox:not(:last-child) > .mbox-body::after { left: -33px; } +/* test with http://localhost:8001/note1aer8780aywqqlfgjjch75uqmkujcdj4edv009nuludwq7w46lkvssclaxx */ .mbox-has-replies .mbox-has-replies .mbox:not(:last-child) > .mbox-body::after { - left: -36px; + left: -18px; } .mbox-has-replies > .mbox-body::after { left: -33px; @@ -188,8 +189,9 @@ a.mbox-img:focus { .mbox-replies .mbox-has-replies:not(:last-child)::after { left: 19px; } +/* test with http://localhost:8001/note1quq9waqtrgl97v3gutg4au4zthetz853u8knsnz65nrqhavxvq8qrp6lyg */ .mbox-replies .mbox-replies .mbox-has-replies:not(:last-child)::after { - left: -11px; + left: 7px; } .mbox-replies .mbox-replies .mbox-has-replies > .mbox-body::after {