Fix fab button UI.
This commit is contained in:
parent
b3ce370b1e
commit
e98ae28856
3 changed files with 12 additions and 10 deletions
File diff suppressed because one or more lines are too long
|
@ -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">
|
||||
|
|
|
@ -183,7 +183,7 @@ export default function Gallery(props) {
|
|||
|
||||
const handleClose = () => {
|
||||
setOpen(false);
|
||||
setReload(Math.random());
|
||||
// setReload(Math.random());
|
||||
};
|
||||
|
||||
const onThumbnailClick = (index: number) => () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue