From ba2f77e0b3b3210f696eedbdfe8e6cc7834e7466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nil=C3=A9ane?= Date: Tue, 11 Jul 2023 23:34:14 +0200 Subject: [PATCH] Now solely applying border-radius to .scrollable container instead of individual posts --- TangerineUI-single-column.css | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/TangerineUI-single-column.css b/TangerineUI-single-column.css index 6e455b2..2c415b8 100644 --- a/TangerineUI-single-column.css +++ b/TangerineUI-single-column.css @@ -532,6 +532,7 @@ body.layout-single-column { } .layout-single-column .scrollable { border-radius: 7px; + max-height: max-content; } .layout-single-column .status { margin-left: 56px; @@ -581,11 +582,6 @@ body.layout-single-column { .layout-single-column .status__content { line-height: 19px; } -.layout-single-column .scrollable > div[role="feed"] > article:last-child div:last-child .status__wrapper, -.layout-single-column .scrollable > div:last-child > div:last-child .status__wrapper, -.layout-single-column .scrollable > div:last-child > .status__wrapper { - border-radius: 0 0 7px 7px; -} /* Using ::after to set a non-full-width border between posts */ .layout-single-column .status__wrapper::before { position: absolute; @@ -693,16 +689,12 @@ body.layout-single-column { color: var(--color-content-fg); } .layout-single-column .scrollable > div:last-child .detailed-status__wrapper:last-child { - border-radius: 0 0 7px 7px; border-bottom: 0; } .layout-single-column article > .account { padding: 16px; } -.layout-single-column article:last-child > .account { - border-radius: 0 0 7px 7px; -} /* ⭐ Action bar */ .layout-single-column .status__action-bar { @@ -955,9 +947,6 @@ body.layout-single-column { color: var(--color-accent); border-bottom: 0; } -.layout-single-column .load-gap { - border-radius: 7px 7px 0 0; -} .layout-single-column .load-gap:hover, .layout-single-column .load-more:hover { opacity: .6; @@ -1707,10 +1696,6 @@ body.layout-single-column { left: 5px; z-index: 1; } -.layout-single-column article:first-child .notification__message, -.layout-single-column article:first-child > div > .status__wrapper:first-child { - border-radius: 7px 7px 0 0; -} .layout-single-column .notification__message { padding: 12px 12px 0; background-color: var(--color-content-bg); @@ -1787,7 +1772,6 @@ body.layout-single-column { color: var(--color-accent); } .layout-single-column .columns-area__panels__main article:last-child .column-link { - border-radius: 0 0 7px 7px; border: 0; }