style(attachment): enable underlined link on refresh link

This commit is contained in:
Colin Darie 2022-10-24 20:18:48 +02:00
parent 91f4971df2
commit ab1928dc33
2 changed files with 19 additions and 24 deletions

View file

@ -16,12 +16,6 @@
}
.attachment-link {
a:not(:hover) {
background-image: none; // remove DSFR underline
}
}
.attachment-error {
display: flex;
width: max-content;

View file

@ -9,6 +9,7 @@
- else
%span{ data: poll_controller_options }
= attachment.filename.to_s
%span.fr-text-mention--grey
- if attachment.virus_scanner.pending?
(analyse antivirus en cours
= link_to "rafraichir", attachment_path, data: { action: 'turbo-poll#refresh' }