diff --git a/app/actions/ModActionPanel/QuickAction.tsx b/app/actions/ModActionPanel/QuickAction.tsx index 053bec2e..23eb5f77 100644 --- a/app/actions/ModActionPanel/QuickAction.tsx +++ b/app/actions/ModActionPanel/QuickAction.tsx @@ -1,7 +1,6 @@ // TODO: This is badly named so that we can rebuild this component without breaking the old one import { useQuery } from '@tanstack/react-query' import { - AtUri, ComAtprotoAdminDefs, ComAtprotoAdminEmitModerationEvent, ComAtprotoModerationDefs, @@ -84,7 +83,7 @@ export function ModActionPanelQuick( return ( + Take moderation action {isMobileView && ( -
+
{title && (
{typeof title !== 'string' && title} diff --git a/components/common/DataField.tsx b/components/common/DataField.tsx index ba4d2846..d441c038 100644 --- a/components/common/DataField.tsx +++ b/components/common/DataField.tsx @@ -18,12 +18,12 @@ export const DataField = ({ shouldTruncateValue, }: DataFieldProps) => { const dataClasses = classNames( - 'mt-1 text-sm text-gray-900', + 'mt-1 text-sm text-gray-900 dark:text-gray-200', shouldTruncateValue ? 'truncate' : 'break-words', ) return (
-
+
{label} {showCopyButton && value && ( {items.map((item) => ( @@ -51,8 +51,8 @@ export const Dropdown = ({ diff --git a/components/common/FullScreenActionPanel.tsx b/components/common/FullScreenActionPanel.tsx index 9f744b27..e7051fb1 100644 --- a/components/common/FullScreenActionPanel.tsx +++ b/components/common/FullScreenActionPanel.tsx @@ -37,29 +37,29 @@ export function FullScreenActionPanel(props: { leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - +
-
+
{title && (
{typeof title !== 'string' && title} {typeof title === 'string' && ( - + {title} )}
)} -
+
{children}
diff --git a/components/common/Json.tsx b/components/common/Json.tsx index 259625d6..4525ae6b 100644 --- a/components/common/Json.tsx +++ b/components/common/Json.tsx @@ -18,7 +18,7 @@ export function Json({
{open ? ( -
+
{JSON.stringify(value, null, 2)}
) : undefined} diff --git a/components/common/LoadMoreButton.tsx b/components/common/LoadMoreButton.tsx index d15b18ce..46ae4f04 100644 --- a/components/common/LoadMoreButton.tsx +++ b/components/common/LoadMoreButton.tsx @@ -5,7 +5,7 @@ export function LoadMoreButton(props: ButtonHTMLAttributes) { return (