fix full-width embeds
This commit is contained in:
parent
d3de5513c8
commit
7a141e6522
|
@ -1,16 +1,14 @@
|
||||||
|
|
||||||
/* Use 100% of the viewport width always*/
|
|
||||||
.detailed-status > .media-spoiler,
|
.detailed-status > .media-spoiler,
|
||||||
.status > .media-spoiler,
|
.status > .media-spoiler,
|
||||||
.status .video-player,
|
.status .video-player,
|
||||||
.media-gallery,
|
.media-gallery,
|
||||||
.status .status-card {
|
.status .status-card.interactive {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-left: -68px;
|
margin-left: -68px;
|
||||||
width: calc(100% + 80px);
|
width: calc(100% + 80px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unset max-width for spoilers and the video player */
|
|
||||||
.detailed-status > .media-spoiler,
|
.detailed-status > .media-spoiler,
|
||||||
.status > .media-spoiler,
|
.status > .media-spoiler,
|
||||||
.video-player {
|
.video-player {
|
||||||
|
@ -25,14 +23,11 @@
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Undo transforms on videos inside the video player */
|
|
||||||
.status__video-player-video {
|
.status__video-player-video {
|
||||||
transform: unset;
|
transform: unset;
|
||||||
top: unset;
|
top: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Adjust offset and width for detail view */
|
|
||||||
.detailed-status .media-gallery {
|
.detailed-status .media-gallery {
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
width: calc(100% + 22px);
|
width: calc(100% + 22px);
|
||||||
|
|
Loading…
Reference in New Issue