Skip to content
Snippets Groups Projects
Commit 9eb56cf6 authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Layout improvements

parent 34916dfe
No related branches found
No related tags found
1 merge request!3Master into new editor
......@@ -15,13 +15,11 @@ function MediaArea({ description, image, video, references }: MediaAreaProps) {
<p className={"detail-view-text-area"}>{description}</p>
{video && (
<div className={"detail-view-media-area"}>
<video
controls={true}
className={"detail-view-video"}
src={video}
/>
</div>
<video
controls={true}
className={"detail-view-video"}
src={video}
/>
)}
{references && (
......
......@@ -10,8 +10,8 @@ function References({ references }: ReferencesProps) {
{references.map((ref) => (
<li key={ref}>
<a href={ref} rel={"noopener noreferrer"} target={"_blank"}>
ref
</a>{" "}
{ref}
</a>
</li>
))}
</ul>
......
......@@ -143,6 +143,9 @@
object-fit: scale-down;
width: 100%;
height: auto;
margin-top: 10px;
padding-left: 25px;
padding-right: 30px;
}
.detail-view-spacer {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment