aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-03 16:58:50 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-03 16:58:50 +0100
commit1ef6cac272f9ec27756365ab95310b25520e818c (patch)
treedb51c19a51160d10bda206ab93cfb0531f4ba2da /src
parent17d7617a0c1146e9bf77a5d484acb747fbb5c7b5 (diff)
Attachment styling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/components/attachment/attachment.vue34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 0e67f48e..7feab42c 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -30,6 +30,40 @@
height: 100%;
}
+ .oembed {
+ img {
+ width: 100%;
+ height: 100%;
+ }
+ }
+
+ .oembed {
+ border: 1px solid rgba(0, 0, 0, 0.14);
+ width: 100%;
+
+ display: flex;
+ .image {
+ flex: 1;
+ img {
+ border: 0px;
+ border-radius: 0;
+ }
+ }
+
+ .text {
+ flex: 2;
+ margin: 8px;
+ h1 {
+ font-size: 14px;
+ margin: 0px;
+
+ a {
+ color: black;
+ }
+ }
+ }
+ }
+
a.image-attachment {
display: flex;
flex: 1;