Skip to content

Commit

Permalink
fix(plugin-edusharing): make loading plugin state have aspect 16/9 to…
Browse files Browse the repository at this point in the history
… reduce content shifts after load
  • Loading branch information
LarsTheGlidingSquirrel committed Nov 22, 2024
1 parent 9a626f0 commit 38bb5de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/editor/src/editor-ui/assets/edusharing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/editor/src/plugins/edusharing-asset/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export function EdusharingAssetRenderer(props: {
{embedHtml ? (
renderEmbed()
) : (
<div className="flex justify-center">
<EdusharingIcon />
<div className="flex aspect-[16/9] w-full items-center justify-center">
<EdusharingIcon style={{ width: '5rem', height: '5rem' }} />
</div>
)}
</div>
Expand Down

0 comments on commit 38bb5de

Please sign in to comment.