Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #319 from serlo/edusharing-asset-spacing-issue
Browse files Browse the repository at this point in the history
fix(edusharing-asset): Make it align to the left
  • Loading branch information
LarsTheGlidingSquirrel authored Jan 8, 2024
2 parents 3df5b84 + b4b0d16 commit 0e32fdd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dep/frontend
28 changes: 15 additions & 13 deletions src/frontend/plugins/edusharing-asset/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,21 @@ export function EdusharingAssetRenderer(props: {

return (
<figure className="w-full">
{embedHtml ? (
renderEmbed()
) : (
<div className="flex justify-center">
<Image
className="block opacity-50"
src="/edusharing.svg"
alt="Edusharing Logo"
width="100"
height="100"
/>
</div>
)}
<div className="mx-side">
{embedHtml ? (
renderEmbed()
) : (
<div className="flex justify-center">
<Image
className="block opacity-50"
src="/edusharing.svg"
alt="Edusharing Logo"
width="100"
height="100"
/>
</div>
)}
</div>
</figure>
)

Expand Down

1 comment on commit 0e32fdd

@vercel
Copy link

@vercel vercel bot commented on 0e32fdd Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.