diff --git a/src/components/FloatingActionsButton.tsx b/src/components/FloatingActionsButton.tsx index c9ca3454..2e4eed07 100644 --- a/src/components/FloatingActionsButton.tsx +++ b/src/components/FloatingActionsButton.tsx @@ -33,7 +33,9 @@ const FloatingActionsButton = ({ }: FloatingActionsButtonProps) => { // Jika tidak ada baris yang dipilih, jangan tampilkan FAB const positionStyles = - selectedRowIds.length > 0 ? 'bottom-[10%]' : 'bottom-[-100%]'; + selectedRowIds.length > 0 + ? 'bottom-[10%] opacity-100' + : 'bottom-[-10%] opacity-0'; // Helper untuk menentukan gaya warna tombol approval const getApprovalColor = (action: 'APPROVED' | 'REJECTED') => { diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index bee92a57..918122d2 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -54,7 +54,8 @@ const Navbar = ({ title, toggleSidebar }: NavbarProps) => {