From f16e527a32ed5d96fd5371aa3eb7771303c595a8 Mon Sep 17 00:00:00 2001 From: smanylov Date: Tue, 30 Dec 2025 13:35:20 +0700 Subject: [PATCH] rewrite table styles from tailwind into scss --- src/app/components/tanstakTable.tsx | 155 +++++++++--------- src/app/styles/global-styles.scss | 41 ++--- src/app/styles/pages-styles.scss | 235 ++++++++++++++++++++++++++++ src/app/styles/variable.scss | 6 +- 4 files changed, 330 insertions(+), 107 deletions(-) diff --git a/src/app/components/tanstakTable.tsx b/src/app/components/tanstakTable.tsx index fc8aabf..a31301e 100644 --- a/src/app/components/tanstakTable.tsx +++ b/src/app/components/tanstakTable.tsx @@ -48,15 +48,15 @@ type ApiResponse = { const FileTypeIcon = ({ type }: { type: string }) => { switch (type) { case 'image': - return + return ; case 'video': - return + return ; case 'audio': - return + return ; default: @@ -136,13 +136,13 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) { { accessorKey: 'fileName', header: ({ column }) => ( -
+
{t('file')} -
+
{Array.from({ length: Math.min(5, table.getPageCount()) }, (_, i) => { const pageIndex = Math.max( 0, @@ -730,9 +727,9 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) { return (