diff --git a/src/components/ItemCard.js b/src/components/ItemCard.js index 2c18442..6fe3d40 100644 --- a/src/components/ItemCard.js +++ b/src/components/ItemCard.js @@ -14,6 +14,17 @@ export default function ItemCard({ item, onEdit, onDelete, onQuickPack, onQuickU return ( + + + {item.imageUri ? ( + + ) : ( + + 🧳 + + )} + + @@ -41,8 +52,6 @@ export default function ItemCard({ item, onEdit, onDelete, onQuickPack, onQuickU Unpack - - {item.imageUri ? : null} ); diff --git a/src/styles.js b/src/styles.js index cef8724..56ec972 100644 --- a/src/styles.js +++ b/src/styles.js @@ -282,13 +282,38 @@ export const styles = StyleSheet.create({ borderColor: '#1f2937', overflow: 'hidden', flexDirection: 'row', + alignItems: 'flex-start', }, itemAccent: { width: 5, + alignSelf: 'stretch', + }, + itemThumbWrap: { + paddingTop: 10, + paddingLeft: 10, + }, + itemThumbSmall: { + width: 46, + height: 46, + borderRadius: 8, + backgroundColor: '#0b1220', + }, + itemThumbPlaceholder: { + width: 46, + height: 46, + borderRadius: 8, + backgroundColor: '#0b1220', + alignItems: 'center', + justifyContent: 'center', + borderWidth: 1, + borderColor: '#243244', + }, + itemThumbPlaceholderText: { + fontSize: 18, }, itemMain: { flex: 1, - padding: 12, + padding: 10, gap: 8, }, itemTitle: {