diff --git a/boards/models/attachment/viewers.py b/boards/models/attachment/viewers.py
--- a/boards/models/attachment/viewers.py
+++ b/boards/models/attachment/viewers.py
@@ -67,7 +67,7 @@ class AbstractViewer:
image = FILE_STUB_IMAGE
return ''\
- '
'\
+ '
'\
''.format(self.file.url, static(image))
@@ -145,5 +145,5 @@ class UrlViewer(AbstractViewer):
''.format(self.get_format_view())
def get_format_view(self):
return '' \
- '
' \
+ '
' \
''.format(self.url, static(FILE_STUB_URL))
diff --git a/boards/static/css/base.css b/boards/static/css/base.css
--- a/boards/static/css/base.css
+++ b/boards/static/css/base.css
@@ -169,3 +169,7 @@ textarea, input {
border-bottom: dashed 1px;
cursor: help;
}
+
+.url-image:hover {
+ filter: invert(100%);
+}