Hide hyperlink from filefield node form (QUICKFIX)

Drupal will show a direct link to the file as soon as the upload is completed in node forms.
Sometimes this is unwanted, for example when a private filefield is desired.

It could be themed with some hooks, but with CSS it only takes 4 lines to hide the link.


.file a {
color: black;
pointer-events: none;
cursor: default; }

This will hide the link in the and it will behave as a normal line of text.
The link can still get discovered in the code, but it makes (private) filefields a little bit more private.