From 5f46890b68ccdd5e86a6baa9ab46fd6c56a6996c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 3 Sep 2024 12:57:01 -0500 Subject: [PATCH] Fix border on PostQuotes, add debug atom --- src/alf/atoms.ts | 5 +++++ src/screens/Post/PostQuotes.tsx | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/alf/atoms.ts b/src/alf/atoms.ts index 429a060729..6b373ab105 100644 --- a/src/alf/atoms.ts +++ b/src/alf/atoms.ts @@ -4,6 +4,11 @@ import * as tokens from '#/alf/tokens' import {native, web} from '#/alf/util/platform' export const atoms = { + debug: { + borderColor: 'red', + borderWidth: 1, + }, + /* * Positioning */ diff --git a/src/screens/Post/PostQuotes.tsx b/src/screens/Post/PostQuotes.tsx index 4a06639fc8..cd03c03621 100644 --- a/src/screens/Post/PostQuotes.tsx +++ b/src/screens/Post/PostQuotes.tsx @@ -10,7 +10,7 @@ import {isWeb} from 'platform/detection' import {PostQuotes as PostQuotesComponent} from '#/view/com/post-thread/PostQuotes' import {ViewHeader} from '#/view/com/util/ViewHeader' import {CenteredView} from 'view/com/util/Views' -import {atoms as a} from '#/alf' +import {native, web} from '#/alf' import {ListHeaderDesktop} from '#/components/Lists' type Props = NativeStackScreenProps @@ -27,7 +27,16 @@ export const PostQuotesScreen = ({route}: Props) => { ) return ( - +