about summary refs log tree commit diff
path: root/src/screens/Search/components/ModuleHeader.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-04 18:55:30 -0500
committerGitHub <noreply@github.com>2025-04-04 16:55:30 -0700
commit0b08128e4a984e302c4675bf6b262272744e69f1 (patch)
treeaec6422c52f356ea0322aacd8fb400f68c8ccb66 /src/screens/Search/components/ModuleHeader.tsx
parentaca89d4aea61a50697187464e88ac1b9a4ef40bd (diff)
downloadvoidsky-0b08128e4a984e302c4675bf6b262272744e69f1.tar.zst
[Explore] Design tweaks (#8131)
* Fix interests card spacing

* Space out AvatarStack

* SP icon size

* Visual alignment of tab bar and headers

* Tweak spacing around search input

* Drop text size in sp card overflow count

* Tweak
Diffstat (limited to 'src/screens/Search/components/ModuleHeader.tsx')
-rw-r--r--src/screens/Search/components/ModuleHeader.tsx12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/screens/Search/components/ModuleHeader.tsx b/src/screens/Search/components/ModuleHeader.tsx
index c965046a6..c6411d1c0 100644
--- a/src/screens/Search/components/ModuleHeader.tsx
+++ b/src/screens/Search/components/ModuleHeader.tsx
@@ -6,14 +6,7 @@ import {PressableScale} from '#/lib/custom-animations/PressableScale'
 import {makeCustomFeedLink} from '#/lib/routes/links'
 import {logger} from '#/logger'
 import {UserAvatar} from '#/view/com/util/UserAvatar'
-import {
-  atoms as a,
-  native,
-  useGutters,
-  useTheme,
-  type ViewStyleProp,
-  web,
-} from '#/alf'
+import {atoms as a, native, useTheme, type ViewStyleProp, web} from '#/alf'
 import {Button, ButtonIcon} from '#/components/Button'
 import * as FeedCard from '#/components/FeedCard'
 import {sizes as iconSizes} from '#/components/icons/common'
@@ -27,13 +20,12 @@ export function Container({
   headerHeight,
 }: {children: React.ReactNode; headerHeight?: number} & ViewStyleProp) {
   const t = useTheme()
-  const gutters = useGutters([0, 'base'])
   return (
     <View
       style={[
-        gutters,
         a.flex_row,
         a.align_center,
+        a.px_lg,
         a.pt_2xl,
         a.pb_md,
         a.gap_sm,