Fix fab button UI.

This commit is contained in:
Pushkar Anand 2021-01-25 02:24:14 +05:30
parent b3ce370b1e
commit e98ae28856
3 changed files with 12 additions and 10 deletions

File diff suppressed because one or more lines are too long

View file

@ -164,7 +164,7 @@ function PhotoSwipe(props: Iprops) {
title="Toggle fullscreen"
/>
<button className="pswp__button pswp__button--zoom" title="Zoom in/out" />
<FavButton isClick={isFav} onClick={() => { onFavClick(photoSwipe?.currItem) }} />
<FavButton size={44} isClick={isFav} onClick={() => { onFavClick(photoSwipe?.currItem) }} />
<div className="pswp__preloader">
<div className="pswp__preloader__icn">
<div className="pswp__preloader__cut">

View file

@ -183,7 +183,7 @@ export default function Gallery(props) {
const handleClose = () => {
setOpen(false);
setReload(Math.random());
// setReload(Math.random());
};
const onThumbnailClick = (index: number) => () => {