Skip to content

Commit

Permalink
Fix width of video preview in panel
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlouschueler committed Dec 12, 2024
1 parent b769aef commit acd1c4a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.css
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
.video-container>figure{display:flex;flex-direction:column;align-items:center;row-gap:.75rem}.video-caption{color:#777}.video-caption-link{text-decoration:underline}
.video-container > figure{
display:flex;
flex-direction:column;
align-items:center;
row-gap:.75rem
}
.video-container > figure > video {
width: 100%;
}
.video-caption {
color:#777
}
.video-caption-link {
text-decoration:underline
}
4 changes: 4 additions & 0 deletions src/components/VideoEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ const video = computed(() => props.content.video[0])
row-gap: 0.75rem;
}
.video-container > figure > video {
width: 100%;
}
.video-caption {
color: #777777;
}
Expand Down

0 comments on commit acd1c4a

Please sign in to comment.