Set max widths with embedded audio and video content
This commit is contained in:
parent
846dfd6762
commit
670f435c64
@ -1,9 +1,37 @@
|
|||||||
|
@import "bootstrap/scss/functions";
|
||||||
|
@import "bootstrap/scss/variables";
|
||||||
|
@import "shared/styles/_mixins.scss";
|
||||||
|
|
||||||
converse-chat-message-body {
|
converse-chat-message-body {
|
||||||
audio {
|
audio {
|
||||||
width: 100%;
|
display: block;
|
||||||
|
@include media-breakpoint-down(sm) {
|
||||||
|
max-width: 95%;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
max-width: 75%;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
max-width: 66%;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(xl) {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
video {
|
video {
|
||||||
max-height: 25vh;
|
display: block;
|
||||||
|
@include media-breakpoint-down(sm) {
|
||||||
|
max-width: 95%;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
max-width: 75%;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
max-width: 66%;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(xl) {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user