Small tweaks

This commit is contained in:
Eric Bailey
2023-10-24 11:40:20 -05:00
parent ebd39c7a10
commit 94e2d0be43
2 changed files with 9 additions and 9 deletions
+4 -2
View File
@@ -174,11 +174,13 @@ export function TagInput({
<Sheet.Content> <Sheet.Content>
<View style={styles.outer}> <View style={styles.outer}>
{tags.length < 1 && (
<FontAwesomeIcon <FontAwesomeIcon
icon="tags" icon="tags"
size={14} size={14}
style={pal.textLight as FontAwesomeIconStyle} style={pal.textLight as FontAwesomeIconStyle}
/> />
)}
{tags.map(tag => ( {tags.map(tag => (
<TagButton key={tag} value={tag} onClick={removeTag} /> <TagButton key={tag} value={tag} onClick={removeTag} />
@@ -250,8 +252,8 @@ const styles = StyleSheet.create({
web: 20, web: 20,
native: 18, native: 18,
}), }),
paddingTop: 4, paddingTop: 6,
paddingBottom: 4, paddingBottom: 6,
}, },
suggestions: { suggestions: {
flexDirection: 'row', flexDirection: 'row',
@@ -236,8 +236,6 @@ export const TextInput = forwardRef(function TextInputImpl(
}) })
}, [richtext, pal.link, pal.text]) }, [richtext, pal.link, pal.text])
console.log('render')
return ( return (
<View style={styles.container}> <View style={styles.container}>
<PasteInput <PasteInput