mirror of
https://github.com/PlayEdu/backend
synced 2025-07-18 06:48:54 +08:00
Merge branch 'dev' of https://gitee.com/playeduxyz/backend into dev
This commit is contained in:
commit
82a0b47a56
@ -60,9 +60,11 @@
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
grid-template-columns: repeat(8, minmax(0, 1fr));
|
||||
|
||||
.imageItem {
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
height: auto;
|
||||
aspect-ratio: 1/1;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position: center center;
|
||||
|
@ -199,7 +199,7 @@ export const ResourceImagesPage = () => {
|
||||
{imageList.map((item: any, index: number) => (
|
||||
<div
|
||||
key={item.id}
|
||||
className={styles.imageItem}
|
||||
className={`${styles.imageItem} ref-image-item`}
|
||||
style={{ backgroundImage: `url(${item.url})` }}
|
||||
onClick={() => showImage(index, true)}
|
||||
onMouseOver={() => showHover(index, true)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user