Skip to content

Commit

Permalink
fix(web): home cards
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Jul 18, 2024
1 parent 7b71cd9 commit cf6f309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/lib/components/PreviewCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
</script>

<div class='position-absolute w-350 h-400 absolute-container top-0 bottom-0 m-auto bg-dark-light rounded overflow-hidden pointer'>
<div class='position-absolute w-350 h-400 absolute-container z-10 top-0 bottom-0 m-auto bg-dark-light rounded overflow-hidden pointer'>
<div class='banner position-relative bg-black'>
<img src={media.bannerImage || ' '} alt='banner' class='img-cover w-full h-full' loading='lazy' />
{#if media.trailer?.id}
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/extensions/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<p>You can disable sources in the sources list by clicking on it's toggle.</p>
<hr class='my-20' />
<h3 class='text-white font-weight-bold'>How to develop new extensions?</h3>
<p>Extensions for Miru need to be written in JavaScriptn which are run in an isolated <a href='https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API' target='_blank'>Web Worker</a>. Make sure the data you're fetching is CORS enabled. Extension type definitions and example structures are available on <a href='https://github.com/ThaUnknown/miru/tree/master/extensions' target='_blank'>GitHub</a>.</p>
<p>Extensions for Miru need to be written in JavaScript which are run in an isolated <a href='https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API' target='_blank'>Web Worker</a>. Make sure the data you're fetching is CORS enabled. Extension type definitions and example structures are available on <a href='https://github.com/ThaUnknown/miru/tree/master/extensions' target='_blank'>GitHub</a>.</p>
<p>Options object, which is passed to the class's single, batch and movie functions as the first parameters has the following fields:</p>
<ul>
<li>anilistId: number - Anilist anime id, can be used to query data from Anilist, such as MalID, episode metadata etc</li>
Expand Down

0 comments on commit cf6f309

Please sign in to comment.