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}
|
ref={dropzoneRef}
|
||||||
onClick={handleDropFieldClick}
|
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}>
|
<Show when={!loading() && props.isSquare && props.description}>
|
||||||
<div class={styles.description}>{props.description}</div>
|
<div class={styles.description}>{props.description}</div>
|
||||||
</Show>
|
</Show>
|
||||||
|
|
|
@ -155,6 +155,7 @@ $navigation-reserve: 32px;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user