A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Dear Hernan de Soto,
Good day!!
I understand your concern and to my knowledge, there is no out of the box feature or setting in the SharePoint Online to hide or remove the activity logs (open the details pane) in the Document Library or List and I have done some extensive search, also consulted some seniors in my team, where there is no success via out of the box feature in SharePoint Online.
I agree with you on having the ability to remove or hide the activity logs in the Details Pane of the Document Library or List in the SharePoint Online will benefit the users and I suggest you to add your valuable idea as feedback in the SharePoint · Community (microsoft.com) which is the best place to share our ideas and improve the Microsoft products.
However, it seems the requirement can be achieved with JSON code or some scripting and I would like to request you to give a shot by posting your concern in the related Microsoft community i.e., Questions - Microsoft Q&A with SharePoint Development tagto get the detailed help from the experts.
Apologies for redirecting you to a different community as the members in the category posted focus on the users with the out-of-the box concerns and have limited knowledge on the JSON code and development related scenarios, so to get the fast and better assistance, we have redirected you to the correct community.
Appreciate your patience and understanding. Have a great day!!
Best Regards,
Sophia