mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature/frontend] Add player for audio files; use thumbnail for poster
(#3099)
* [feature/frontend] Audio player for audio media types * use video preview images for previews instead of video itself * don't preload * update tests for new zork status * collapse media gallery into single row when small
This commit is contained in:
@ -336,6 +336,10 @@ main {
|
||||
grid-area: sensitive;
|
||||
align-self: center;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
.button {
|
||||
cursor: pointer;
|
||||
align-self: center;
|
||||
@ -401,10 +405,18 @@ main {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
&.odd .media-wrapper:first-child, &.double .media-wrapper {
|
||||
&.odd .media-wrapper:first-child,
|
||||
&.double .media-wrapper {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 42rem) {
|
||||
.media-wrapper {
|
||||
grid-column: span 2;
|
||||
grid-row: span 2;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
Reference in New Issue
Block a user