Fix image width in swiper (#300)
This commit is contained in:
parent
2dda1a09b4
commit
9c05bdebd6
|
@ -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>
|
||||
|
|
|
@ -155,6 +155,7 @@ $navigation-reserve: 32px;
|
|||
|
||||
img {
|
||||
max-height: 100%;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user