Skip to content

Commit 39d2d85

Browse files
added close button
1 parent d6059b7 commit 39d2d85

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/guided-modal-tour/tour-steps.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export const TOUR_STEPS = {
145145
},
146146
postStep: () => {
147147
document.querySelector( '.ugb-design-library__color-scheme-popover .ugb-modal-design-library__stk-color-scheme:last-of-type' )?.click()
148+
document.querySelector( '.ugb-modal-design-library__color-scheme-close-button' )?.click()
148149
},
149150
},
150151
{

src/components/modal-design-library/modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ export const ModalDesignLibrary = props => {
276276
<p> { __( 'Background Scheme', i18n ) }</p>
277277
<Button
278278
icon="no"
279+
className="ugb-modal-design-library__color-scheme-close-button"
279280
onClick={ () => {
280281
onClose()
281282
} }

0 commit comments

Comments
 (0)