Fix image width in swiper (#300)

This commit is contained in:
Ilya Y 2023-11-06 10:05:01 +03:00 committed by GitHub
parent 2dda1a09b4
commit 9c05bdebd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export const DropArea = (props: Props) => {
ref={dropzoneRef}
onClick={handleDropFieldClick}
>
<div class={styles.text}>{loading() ? 'Loading...' : props.placeholder}</div>
<div class={styles.text}>{loading() ? t('Loading') : props.placeholder}</div>
<Show when={!loading() && props.isSquare && props.description}>
<div class={styles.description}>{props.description}</div>
</Show>

View File

@ -155,6 +155,7 @@ $navigation-reserve: 32px;
img {
max-height: 100%;
width: auto;
}
}