mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: image
This commit is contained in:
1 parent
a202a0588d
commit
101e3a77e7
2 files changed
+7
-5
No files matched your search
@@ -12,7 +12,9 @@
|
||||
<div class="u-flex u-gap-24 u-flex-vertical-mobile">
|
||||
{#if $$slots?.image}
|
||||
<div class="u-stretch">
|
||||
<div class="file-preview u-width-full-line u-height-100-percent">
|
||||
<div
|
||||
style:--p-file-preview-border-color="transparent"
|
||||
class="file-preview is-full-cover-image u-width-full-line u-height-100-percent">
|
||||
<slot name="image" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
{#if $app.themeInUse === 'dark'}
|
||||
<img
|
||||
src={EmailMobileDark}
|
||||
class="u-image-object-fit-cover u-only-dark"
|
||||
class="u-image-object-fit-cover u-only-dark u-width-full-line u-height-100-percent"
|
||||
alt="Email Signature Example" />
|
||||
{:else}
|
||||
<img
|
||||
src={EmailMobileLight}
|
||||
class="u-image-object-fit-cover u-only-light"
|
||||
class="u-image-object-fit-cover u-only-light u-width-full-line u-height-100-percent"
|
||||
alt="Email Signature Example" />
|
||||
{/if}
|
||||
</div>
|
||||
@@ -33,14 +33,14 @@
|
||||
src={EmailDark}
|
||||
width="266"
|
||||
height="171"
|
||||
class="u-image-object-fit-cover u-block u-only-dark"
|
||||
class="u-image-object-fit-cover u-block u-only-dark u-width-full-line u-height-100-percent"
|
||||
alt="Email Signature Example" />
|
||||
{:else}
|
||||
<img
|
||||
src={EmailLight}
|
||||
width="266"
|
||||
height="171"
|
||||
class="u-image-object-fit-cover u-only-light"
|
||||
class="u-image-object-fit-cover u-only-light u-width-full-line u-height-100-percent"
|
||||
alt="Email Signature Example" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user