Merge remote-tracking branch 'hub/main' into dev

This commit is contained in:
Untone 2024-01-23 01:15:16 +03:00
commit c96d723659
2 changed files with 11 additions and 11 deletions

View File

@ -23,20 +23,20 @@
border-radius: 100%;
position: fixed;
z-index: 1001;
top: 20px;
right: 40px;
top: -40px;
right: -40px;
font-size: 30px;
color: white;
cursor: pointer;
width: 36px;
height: 36px;
width: 80px;
height: 80px;
.icon {
height: 20px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 20px;
bottom: 16px;
height: 15px;
left: 16px;
position: absolute;
width: 15px;
}
}

View File

@ -153,9 +153,9 @@ export const Lightbox = (props: Props) => {
<Show when={pictureScalePercentage()}>
<div class={styles.scalePercentage}>{`${pictureScalePercentage()}%`}</div>
</Show>
<span class={styles.close} onClick={closeLightbox}>
<div class={styles.close} onClick={closeLightbox}>
<Icon name="close-white" class={styles.icon} />
</span>
</div>
<div class={styles.zoomControls}>
<button class={styles.control} onClick={(event) => zoomOut(event)}>
&minus;