diff --git a/ui/js/component/video/view.jsx b/ui/js/component/video/view.jsx
index 0a8410372..fb1bd3420 100644
--- a/ui/js/component/video/view.jsx
+++ b/ui/js/component/video/view.jsx
@@ -80,7 +80,7 @@ class Video extends React.PureComponent {
loadStatusMessage = __("Downloading stream... not long left now!");
}
- let klasses = ["card"];
+ let klasses = [];
klasses.push(obscureNsfw ? "video--obscured " : "");
if (isLoading || isDownloading) klasses.push("video-embedded", "video");
if (mediaType === "video") {
diff --git a/ui/js/page/file/view.jsx b/ui/js/page/file/view.jsx
index 3eaba8977..750f36db8 100644
--- a/ui/js/page/file/view.jsx
+++ b/ui/js/page/file/view.jsx
@@ -63,44 +63,42 @@ class FilePage extends React.PureComponent {
mediaType === "audio";
return (
-
-
+
+
{isPlayable
?
: metadata && metadata.thumbnail
?
:
}
-
-
-
- {(!tab || tab === "details") &&
-
- {" "} {" "}
-
- {!fileInfo || fileInfo.written_bytes <= 0
- ?
-
- {isRewardContent &&
- {" "}}
-
- : null}
-
{title}
-
-
- •
-
- Published on{" "}
-
+
+
+ {(!tab || tab === "details") &&
+
+ {" "} {" "}
+
+ {!fileInfo || fileInfo.written_bytes <= 0
+ ?
+
+ {isRewardContent &&
+ {" "}}
-
+ : null}
+
{title}
+
+
+ •
+
+ Published on{" "}
+
+
-
-
}
- {tab === "tip" &&
-
}
-
-
-
+
+
+
}
+ {tab === "tip" &&
+ }
+
+
);
}
}
diff --git a/ui/scss/component/_card.scss b/ui/scss/component/_card.scss
index 6cf012c3c..1de1e4494 100644
--- a/ui/scss/component/_card.scss
+++ b/ui/scss/component/_card.scss
@@ -44,7 +44,7 @@
text-overflow: ellipsis;
}
.card__title-identity {
- margin: $spacing-vertical * 1/2 0;
+ margin: 16px 0;
}
.card__actions {
margin-top: var(--card-margin);
diff --git a/ui/scss/page/_show.scss b/ui/scss/page/_show.scss
index d52f28381..88ec2b7dd 100644
--- a/ui/scss/page/_show.scss
+++ b/ui/scss/page/_show.scss
@@ -1,6 +1,7 @@
.show-page-media {
text-align: center;
- margin-bottom: $spacing-vertical;
+ margin-bottom: 16px;
+ overflow: auto;
img {
max-width: 100%;
}
@@ -9,4 +10,4 @@
width: 100%;
min-height: 500px;
}
-}
\ No newline at end of file
+}