commit: 1ef6cac272f9ec27756365ab95310b25520e818c
parent: 17d7617a0c1146e9bf77a5d484acb747fbb5c7b5
Author: Roger Braun <roger@rogerbraun.net>
Date: Thu, 3 Nov 2016 16:58:50 +0100
Attachment styling fixes.
Diffstat:
1 file changed, 34 insertions(+), 0 deletions(-)
diff --git 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;