aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-01-15 15:59:28 +0100
committerRoger Braun <roger@rogerbraun.net>2017-01-15 15:59:28 +0100
commit224fe580ca5535e6302796e210d754f06eb4dc21 (patch)
tree73ff085075ee13ece21adaed493b68354ac490ad /src/components/attachment/attachment.vue
parent929d4d75b4a9a20bbf7835a7f7d8df96e70d4ffc (diff)
parent6c5b5eb52b7e000a2af896a0ada9ff4488ac8709 (diff)
Merge branch 'develop' into feature/hash-routed
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index e16cc7cd..fe57924e 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -9,7 +9,7 @@
<a class="image-attachment" v-if="type === 'image' && !hidden"
:href="attachment.url" target="_blank">
- <img referrerpolicy="no-referrer" :src="attachment.url"></img>
+ <img class="base05-border" referrerpolicy="no-referrer" :src="attachment.url"></img>
</a>
<video v-if="type === 'video' && !hidden" :src="attachment.url" controls></video>
@@ -97,10 +97,6 @@
h1 {
font-size: 14px;
margin: 0px;
-
- a {
- color: black;
- }
}
}
}
@@ -111,7 +107,8 @@
img {
width: 100%;
- border: 1px solid;
+ border-style: solid;
+ border-width: 1px;
border-radius: 0.5em;
width: 100%;
height: 100%; /* If this isn't here, chrome will stretch the images */