about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-20 08:40:41 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-20 08:40:41 -0600
commit56747263df1df1b0258831a9e9b2ba2c4984e244 (patch)
tree0e275b27dbb7aa87bf26a55d260bdb2a845c5861
parentdb4109a5ea823622a48fcc3669762542708de633 (diff)
downloadvoidsky-56747263df1df1b0258831a9e9b2ba2c4984e244.tar.zst
More layout fixes in notifications
-rw-r--r--src/view/com/notifications/FeedItem.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx
index 837f233d4..48c8b9a1f 100644
--- a/src/view/com/notifications/FeedItem.tsx
+++ b/src/view/com/notifications/FeedItem.tsx
@@ -24,7 +24,7 @@ import {Link} from '../util/Link'
 import {usePalette} from '../../lib/hooks/usePalette'
 import {useAnimatedValue} from '../../lib/hooks/useAnimatedValue'
 
-const MAX_AUTHORS = 8
+const MAX_AUTHORS = 5
 
 const EXPANDED_AUTHOR_EL_HEIGHT = 35
 
@@ -273,7 +273,7 @@ function CondensedAuthorsList({
       <FontAwesomeIcon
         icon="angle-down"
         size={18}
-        style={[styles.expandedAuthorsCloseBtnIcon, pal.icon]}
+        style={[styles.expandedAuthorsCloseBtnIcon, pal.textLight]}
       />
     </View>
   )
@@ -302,7 +302,7 @@ function ExpandedAuthorsList({
     }).start()
   }, [heightInterp, visible])
   return (
-    <Animated.View style={[s.mb10, heightStyle]}>
+    <Animated.View style={[heightStyle, visible ? s.mb10 : undefined]}>
       {authors.map(author => (
         <Link
           key={author.href}