Skip to content

Commit

Permalink
Merge pull request #182 from LemmyNet/main
Browse files Browse the repository at this point in the history
[pull] master from LemmyNet:main
  • Loading branch information
pull[bot] authored Jan 7, 2025
2 parents c519635 + 8e545f4 commit 4397e45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ body {
overflow-x: auto;
}

.md-div details {
margin-bottom: 1rem;
}

.vote-bar {
min-width: 5ch;
margin-top: -6.5px;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/post/post-listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
const url = post.url;

// if direct video link or embedded video link
if (url && isVideo(url)) {
if ((url && isVideo(url)) || isVideo(post.embed_video_url ?? "")) {
return (
<div className="ratio ratio-16x9 mt-3">
<video
Expand Down

0 comments on commit 4397e45

Please sign in to comment.