From 6e305fd8547dc719a6d5dd43bd35f1080833c65e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 6 Oct 2021 13:59:52 -0500 Subject: [PATCH] DetailedStatus: remove gaps, rename .detailed-status-container to .thread --- app/soapbox/features/status/index.js | 84 +++++++++++----------- app/styles/components/detailed-status.scss | 19 +++-- 2 files changed, 57 insertions(+), 46 deletions(-) diff --git a/app/soapbox/features/status/index.js b/app/soapbox/features/status/index.js index af17aa7ed..ae2901f30 100644 --- a/app/soapbox/features/status/index.js +++ b/app/soapbox/features/status/index.js @@ -595,53 +595,55 @@ class Status extends ImmutablePureComponent { /> */} -
+
{ancestors && ( -
{ancestors}
+
{ancestors}
)} - -
- +
+ +
+ - -
-
+ +
+ +
{descendants && ( -
{descendants}
+
{descendants}
)}
diff --git a/app/styles/components/detailed-status.scss b/app/styles/components/detailed-status.scss index 094dce139..6b182fa61 100644 --- a/app/styles/components/detailed-status.scss +++ b/app/styles/components/detailed-status.scss @@ -160,9 +160,18 @@ margin-right: 5px; } -/* Connect the first status to the SubNavigation */ -.detailed-status__ancestors .status-container:first-child .status__wrapper, -.detailed-status-container > div:first-child .detailed-status__wrapper { - border-top-left-radius: 0; - border-top-right-radius: 0; +.thread { + // Don't display gaps between statuses in a thread + .status-container { + padding: 0; + } + + .status__wrapper { + border-radius: 0; + } + + .detailed-status__wrapper { + border-radius: 0; + margin: 0; + } }