@@ -1088,8 +1088,10 @@ class ReactImageLightbox extends Component {
1088
1088
className = { `toolbar ril-toolbar ${ styles . toolbar } ` }
1089
1089
>
1090
1090
< 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 >
1093
1095
</ li >
1094
1096
</ ul >
1095
1097
@@ -1102,10 +1104,10 @@ class ReactImageLightbox extends Component {
1102
1104
] . join ( ' ' ) }
1103
1105
>
1104
1106
{ ! 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 >
1106
1108
) ) }
1107
1109
1108
- < li className = { styles . toolbarItem } >
1110
+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
1109
1111
< button // Lightbox zoom in button
1110
1112
type = "button"
1111
1113
key = "zoom-in"
@@ -1114,7 +1116,7 @@ class ReactImageLightbox extends Component {
1114
1116
/>
1115
1117
</ li >
1116
1118
1117
- < li className = { styles . toolbarItem } >
1119
+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
1118
1120
< button // Lightbox zoom out button
1119
1121
type = "button"
1120
1122
key = "zoom-out"
@@ -1123,12 +1125,12 @@ class ReactImageLightbox extends Component {
1123
1125
/>
1124
1126
</ li >
1125
1127
1126
- < li className = { styles . toolbarItem } >
1128
+ < li className = { `ril-toolbar__item ${ styles . toolbarItem } ` } >
1127
1129
< button // Lightbox close button
1128
1130
type = "button"
1129
1131
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 } `
1132
1134
}
1133
1135
onClick = { ! this . isAnimating ( ) ? this . requestClose : noop } // Ignore clicks during animation
1134
1136
/>
0 commit comments