Attachment styling fixes.

This commit is contained in:
Roger Braun 2016-11-03 16:58:50 +01:00
parent 17d7617a0c
commit 1ef6cac272
1 changed files with 34 additions and 0 deletions

View File

@ -30,6 +30,40 @@
height: 100%; 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 { a.image-attachment {
display: flex; display: flex;
flex: 1; flex: 1;