mirror of
https://github.com/directus/directus.git
synced 2026-01-27 09:48:25 -05:00
fix audio player not showing up
This commit is contained in:
@@ -65,12 +65,20 @@ const authenticatedSrc = computed(() => addTokenToURL(props.src));
|
||||
position: relative;
|
||||
max-width: calc((var(--form-column-max-width) * 2) + var(--form-horizontal-gap));
|
||||
|
||||
img,
|
||||
video {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
audio {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
img,
|
||||
video,
|
||||
audio {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
max-height: v-bind(maxHeight);
|
||||
object-fit: contain;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
Reference in New Issue
Block a user