This commit is contained in:
parent
6e0d60d854
commit
d23ef5f64d
|
@ -8,7 +8,7 @@ services:
|
|||
- ./volumes/pictrs:/mnt
|
||||
|
||||
pictrs-admin:
|
||||
image: asonix/pictrs-admin:0.1.0
|
||||
image: asonix/pictrs-admin:0.1
|
||||
ports:
|
||||
- "8084:8084"
|
||||
restart: always
|
||||
|
|
|
@ -48,7 +48,8 @@ article {
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
img {
|
||||
img,
|
||||
video {
|
||||
border-radius: 3px 3px 0 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
@if let Some(src) = hash.media_link() {
|
||||
<div class="image-box">
|
||||
@if let Some(video_type) = hash.video_type() {
|
||||
<video controls src="@src" type="@video_type"></video>
|
||||
<video controls loop src="@src" type="@video_type"></video>
|
||||
} else {
|
||||
<img src="@src" />
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue