{{else}}
@@ -39,8 +48,6 @@
padding: 0;
border: none;
background: none;
- width: 100%;
- height: 100%;
}
.status-sensitive-media-button:hover {
@@ -54,12 +61,17 @@
.status-sensitive-media-shown .status-sensitive-media-button {
position: absolute;
left: 0;
- right: 0;
top: 0;
- bottom: 0;
z-index: 90;
}
+ .status-sensitive-media-hidden .status-sensitive-media-button {
+ right: 0;
+ bottom: 0;
+ width: 100%;
+ height: 100%;
+ }
+
.status-sensitive-media-container.status-sensitive-media-hidden {
width: 100%;
margin: 10px auto;
@@ -80,11 +92,6 @@
}
.status-sensitive-media-container .svg-wrapper {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
display: flex;
align-items: flex-start;
justify-content: flex-start;
@@ -92,6 +99,13 @@
pointer-events: none;
background: var(--mask-bg);
}
+ .status-sensitive-media-hidden .svg-wrapper {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ }
.status-sensitive-media-container.status-sensitive-media-shown .svg-wrapper {
background: none;
}
@@ -129,7 +143,7 @@
$sensitivesShown[contextualStatusId] = !$sensitivesShown[contextualStatusId]
this.store.set({'sensitivesShown': $sensitivesShown})
this.fire('recalculateHeight')
- },
+ }
}
}
\ No newline at end of file
diff --git a/routes/_components/status/VideoDialog.html b/routes/_components/status/VideoDialog.html
index d6dee45..8ad9962 100644
--- a/routes/_components/status/VideoDialog.html
+++ b/routes/_components/status/VideoDialog.html
@@ -1,13 +1,18 @@
-