diff --git a/app/soapbox/components/ui/card/card.tsx b/app/soapbox/components/ui/card/card.tsx index 6d20da564..9754628c9 100644 --- a/app/soapbox/components/ui/card/card.tsx +++ b/app/soapbox/components/ui/card/card.tsx @@ -4,6 +4,8 @@ import InlineSVG from 'react-inlinesvg'; import { defineMessages, useIntl } from 'react-intl'; import { Link } from 'react-router-dom'; +import { Text } from 'soapbox/components/ui'; + const sizes = { md: 'p-4 sm:rounded-xl', lg: 'p-4 sm:p-6 sm:rounded-xl', @@ -51,7 +53,7 @@ const CardHeader: React.FC = ({ children, backHref, onBackClick }): const backAttributes = backHref ? { to: backHref } : { onClick: onBackClick }; return ( - + Back @@ -72,7 +74,7 @@ interface ICardTitle { } const CardTitle = ({ title }: ICardTitle): JSX.Element => ( -

{title}

+ {title} ); const CardBody: React.FC = ({ children }): JSX.Element => ( diff --git a/app/soapbox/features/compose/components/search.tsx b/app/soapbox/features/compose/components/search.tsx index 695163f3c..a11c4a3e2 100644 --- a/app/soapbox/features/compose/components/search.tsx +++ b/app/soapbox/features/compose/components/search.tsx @@ -120,7 +120,7 @@ const Search = (props: ISearch) => {
- {/* - Eye icon to show/hide all CWs in a thread. - I'm not convinced of the value of this. It needs a better design at the very least. - */} - {/* me && - - - - )} - /> - */}
@@ -689,7 +667,7 @@ class Status extends ImmutablePureComponent { onToggleMediaVisibility={this.handleToggleMediaVisibility} /> -
+
-
+
{descendants}
)} diff --git a/app/styles/components/detailed-status.scss b/app/styles/components/detailed-status.scss index 5bcab11c3..a7906dc8b 100644 --- a/app/styles/components/detailed-status.scss +++ b/app/styles/components/detailed-status.scss @@ -168,7 +168,7 @@ } .thread { - @apply sm:bg-white p-4 sm:shadow-xl sm:p-6 sm:rounded-xl; + @apply sm:bg-white sm:dark:bg-slate-800 p-4 sm:shadow-xl sm:p-6 sm:rounded-xl; &__status { @apply relative; @@ -222,7 +222,7 @@ // } &__connector { - @apply bg-gray-200 absolute w-0.5 left-5 hidden; + @apply bg-gray-200 dark:bg-gray-600 absolute w-0.5 left-5 hidden; &--bottom { @apply block;