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
+9 -7
View File
@@ -174,11 +174,13 @@ export function TagInput({
<Sheet.Content>
<View style={styles.outer}>
<FontAwesomeIcon
icon="tags"
size={14}
style={pal.textLight as FontAwesomeIconStyle}
/>
{tags.length < 1 && (
<FontAwesomeIcon
icon="tags"
size={14}
style={pal.textLight as FontAwesomeIconStyle}
/>
)}
{tags.map(tag => (
<TagButton key={tag} value={tag} onClick={removeTag} />
@@ -250,8 +252,8 @@ const styles = StyleSheet.create({
web: 20,
native: 18,
}),
paddingTop: 4,
paddingBottom: 4,
paddingTop: 6,
paddingBottom: 6,
},
suggestions: {
flexDirection: 'row',
@@ -236,8 +236,6 @@ export const TextInput = forwardRef(function TextInputImpl(
})
}, [richtext, pal.link, pal.text])
console.log('render')
return (
<View style={styles.container}>
<PasteInput