|
|
- const style = standalone ? {} : { left, top, right, bottom, width: `${width}%`, height: `${height}%` };
|
|
|
+ <div className={classNames('media-gallery__item', { standalone })} key={attachment.get('id')} style={{ left: left, top: top, right: right, bottom: bottom, width: `${width}%`, height: `${height}%` }}>
|