1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-23 14:25:08 +01:00

CSS fixes.

This commit is contained in:
Roger Braun 2016-11-02 18:38:30 +01:00
parent 7980558461
commit 72877b5c06
2 changed files with 16 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<img :src="nsfwImage"></img>
</a>
<a v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
<a class="image-attachment" v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
<video v-if="type === 'webm' && !nsfw" :src="attachment.url" controls></video>
@ -29,5 +29,16 @@
video {
height: 100%;
}
a.image-attachment {
display: flex;
flex: 1;
img {
width: 100%;
height: 100%;
flex: 1;
}
}
}
</style>

View File

@ -60,4 +60,8 @@
word-break: break-all;
}
}
.status-actions {
padding-top: 5px;
}
</style>