@@ -1088,8 +1088,10 @@ class ReactImageLightbox extends Component {
10881088 className = { `toolbar ril-toolbar ${ styles . toolbar } ` }
10891089 >
10901090 < ul className = { `toolbar-left ril-toolbar-left ${ styles . toolbarSide } ${ styles . toolbarLeftSide } ` } >
1091- < li className = { styles . toolbarItem } >
1092- < span className = { styles . toolbarItemChild } > { imageTitle } </ span >
1091+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
1092+ < span className = { `ril-toolbar__item__child ${ styles . toolbarItemChild } ` } >
1093+ { imageTitle }
1094+ </ span >
10931095 </ li >
10941096 </ ul >
10951097
@@ -1102,10 +1104,10 @@ class ReactImageLightbox extends Component {
11021104 ] . join ( ' ' ) }
11031105 >
11041106 { ! toolbarButtons ? '' : toolbarButtons . map ( ( button , i ) => (
1105- < li key = { i } className = { styles . toolbarItem } > { button } </ li >
1107+ < li key = { i } className = { `ril-toolbar__item ${ styles . toolbarItem } ` } > { button } </ li >
11061108 ) ) }
11071109
1108- < li className = { styles . toolbarItem } >
1110+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
11091111 < button // Lightbox zoom in button
11101112 type = "button"
11111113 key = "zoom-in"
@@ -1114,7 +1116,7 @@ class ReactImageLightbox extends Component {
11141116 />
11151117 </ li >
11161118
1117- < li className = { styles . toolbarItem } >
1119+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
11181120 < button // Lightbox zoom out button
11191121 type = "button"
11201122 key = "zoom-out"
@@ -1123,12 +1125,12 @@ class ReactImageLightbox extends Component {
11231125 />
11241126 </ li >
11251127
1126- < li className = { styles . toolbarItem } >
1128+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
11271129 < button // Lightbox close button
11281130 type = "button"
11291131 key = "close"
1130- className = { ` close ril-close ${ styles . toolbarItemChild } ` +
1131- ` ${ styles . builtinButton } ${ styles . closeButton } `
1132+ className = { ' close ril-close ril-toolbar__item__child' +
1133+ ` ${ styles . toolbarItemChild } ${ styles . builtinButton } ${ styles . closeButton } `
11321134 }
11331135 onClick = { ! this . isAnimating ( ) ? this . requestClose : noop } // Ignore clicks during animation
11341136 />
0 commit comments