@@ -270,6 +270,7 @@ const Connection: React.FC<ConnectionProps> = ({
270270
271271 if ( zipBlob ) {
272272 saveAs ( zipBlob , 'ChordsWeb.zip' ) ;
273+ toast . success ( "File downloaded suceesfully." )
273274 } else if ( error ) {
274275 console . error ( error ) ;
275276 }
@@ -821,6 +822,7 @@ const Connection: React.FC<ConnectionProps> = ({
821822
822823 transaction . oncomplete = ( ) => {
823824 console . log ( "File deletion transaction completed." ) ;
825+ toast . success ( "File deleted successfully." ) ;
824826 } ;
825827
826828 transaction . onerror = ( ) => {
@@ -909,20 +911,20 @@ const Connection: React.FC<ConnectionProps> = ({
909911 { /* Left-aligned section */ }
910912 < div className = "absolute left-4 flex items-center mx-0 px-0 space-x-1" >
911913 { isRecordingRef . current && (
912- < div className = "flex items-center space-x-1 w-min ml-2 " >
913- < button className = "flex items-center justify-center px-3 py-2 select-none min-w-20 bg-primary text-destructive whitespace-nowrap rounded-xl"
914+ < div className = "flex items-center space-x-1 w-min" >
915+ < button className = "flex items-center justify-center px-1 py-2 select-none min-w-20 bg-primary text-destructive whitespace-nowrap rounded-xl"
914916 >
915917 { formatTime ( recordingElapsedTime ) }
916918 </ button >
917- < Separator orientation = "vertical" className = "bg-primary h-9 ml-2 " />
919+ < Separator orientation = "vertical" className = "bg-primary h-9 " />
918920 < div >
919921 < Popover
920922 open = { isEndTimePopoverOpen }
921923 onOpenChange = { setIsEndTimePopoverOpen }
922924 >
923925 < PopoverTrigger asChild >
924926 < Button
925- className = "flex items-center justify-center px-3 py-2 select-none min-w-12 text-destructive whitespace-nowrap rounded-xl"
927+ className = "flex items-center justify-center px-1 py-2 select-none min-w-10 text-destructive whitespace-nowrap rounded-xl"
926928 variant = "destructive"
927929 >
928930 { endTimeRef . current === null ? (
@@ -987,7 +989,7 @@ const Connection: React.FC<ConnectionProps> = ({
987989 < TooltipProvider >
988990 < Tooltip >
989991 < TooltipTrigger asChild >
990- < Button className = "flex items-center justify-center gap-1 py-2 px-6 sm:py-3 sm:px-8 rounded-xl font-semibold" onClick = { handleClick } >
992+ < Button className = "flex items-center justify-center gap-1 py-2 px-2 sm:py-3 sm:px-4 rounded-xl font-semibold" onClick = { handleClick } >
991993 { isConnected ? (
992994 < >
993995 Disconnect
0 commit comments