@jalik/react-lightbox
Advanced tools
Comparing version 1.0.11 to 1.0.12
# Changelog | ||
## v1.0.12 | ||
- Fixed display of thumbnails | ||
## v1.0.11 | ||
@@ -4,0 +8,0 @@ |
@@ -74,2 +74,3 @@ "use strict"; | ||
style: { | ||
display: 'flex', | ||
height: '100%', | ||
@@ -87,3 +88,7 @@ position: 'relative', | ||
role: "button", | ||
tabIndex: 0 | ||
tabIndex: 0, | ||
style: { | ||
height: '100%' // marginRight: index < items.length - 1 ? margin : 0, | ||
} | ||
}, /*#__PURE__*/_react["default"].createElement("img", { | ||
@@ -96,3 +101,2 @@ alt: item.alt, | ||
height: '100%', | ||
marginRight: index < items.length - 1 ? margin : 0, | ||
opacity: activeIndex === index ? 1 : 0.3, | ||
@@ -99,0 +103,0 @@ transitionProperty: 'opacity', |
@@ -57,2 +57,3 @@ /* | ||
style: { | ||
display: 'flex', | ||
height: '100%', | ||
@@ -70,3 +71,7 @@ position: 'relative', | ||
role: "button", | ||
tabIndex: 0 | ||
tabIndex: 0, | ||
style: { | ||
height: '100%' // marginRight: index < items.length - 1 ? margin : 0, | ||
} | ||
}, /*#__PURE__*/React.createElement("img", { | ||
@@ -79,3 +84,2 @@ alt: item.alt, | ||
height: '100%', | ||
marginRight: index < items.length - 1 ? margin : 0, | ||
opacity: activeIndex === index ? 1 : 0.3, | ||
@@ -82,0 +86,0 @@ transitionProperty: 'opacity', |
{ | ||
"name": "@jalik/react-lightbox", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Light box component for React", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -52,2 +52,3 @@ /* | ||
style={{ | ||
display: 'flex', | ||
height: '100%', | ||
@@ -67,2 +68,6 @@ position: 'relative', | ||
tabIndex={0} | ||
style={{ | ||
height: '100%', | ||
// marginRight: index < items.length - 1 ? margin : 0, | ||
}} | ||
> | ||
@@ -76,3 +81,2 @@ <img | ||
height: '100%', | ||
marginRight: index < items.length - 1 ? margin : 0, | ||
opacity: activeIndex === index ? 1 : 0.3, | ||
@@ -79,0 +83,0 @@ transitionProperty: 'opacity', |
59014
1528