From 2fa848f881799b76c5f41ccd4e4e34e042b2640c Mon Sep 17 00:00:00 2001 From: amel Date: Fri, 21 Mar 2025 14:12:25 +0800 Subject: [PATCH] upd: style icon absolute --- components/document/itemFile.tsx | 12 ++---------- constants/Styles.ts | 5 +++++ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/components/document/itemFile.tsx b/components/document/itemFile.tsx index 241ea9d..cf18488 100644 --- a/components/document/itemFile.tsx +++ b/components/document/itemFile.tsx @@ -22,21 +22,13 @@ export default function ItemFile({ category, checked, dateTime, title, onChecked ? <> - + : category == 'file-shared' ? <> - + : category == 'folder' diff --git a/constants/Styles.ts b/constants/Styles.ts index 93ae47f..c3be293 100644 --- a/constants/Styles.ts +++ b/constants/Styles.ts @@ -510,6 +510,11 @@ const Styles = StyleSheet.create({ absolute0: { position: 'absolute', bottom: 0 + }, + absoluteIcon: { + top: 18, + left: 20, + position: 'absolute' } })