diff --git a/templates/hotgridPopup.jsx b/templates/hotgridPopup.jsx index 05fc575..1423517 100644 --- a/templates/hotgridPopup.jsx +++ b/templates/hotgridPopup.jsx @@ -30,7 +30,7 @@ export default function HotgridPopup(props) { _isRound && 'is-round', _isVisited && 'is-visited', _isActive && 'is-active', - _imageAlignment && `align-image-${_imageAlignment}` + _graphic?.src && `align-image-${_imageAlignment || 'right'}` ])} key={index} data-index={index} @@ -76,7 +76,7 @@ export default function HotgridPopup(props) { - {(_imageAlignment === 'right' || _imageAlignment === 'bottom') && + {(_imageAlignment !== 'left' && _imageAlignment !== 'top') &&