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