Commit c2c52fcf14074192f342040251934c64bfa28400

Authored by Vu Bui
1 parent 9dae9d86cd
Exists in master

update

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

... ... @@ -85,8 +85,10 @@ function BookingWizard(props) {
85 85 useEffect(() => {
86 86 if (show) {
87 87 document.body.classList.add('bw-show-popup')
  88 + document.documentElement.classList.add('bw-show-popup')
88 89 } else {
89 90 document.body.classList.remove('bw-show-popup')
  91 + document.documentElement.classList.remove('bw-show-popup')
90 92 }
91 93 }, [show])
92 94  
... ... @@ -242,6 +244,8 @@ function BookingWizard(props) {
242 244 {/* <style type="text/css">
243 245 {`@import "${process.env.REACT_APP_FIREBASE_URL}/static/css/app.chunk.css";`}
244 246 {`@import "${process.env.REACT_APP_FIREBASE_URL}/static/css/main-app.chunk.css";`}
  247 + {window?.GDClinic?.type ==='mm'? `@import "${process.env.REACT_APP_FIREBASE_URL}/static/css/mm-styles.css";`:'' }
  248 + {window?.GDClinic?.type ==='sc'? `@import "${process.env.REACT_APP_FIREBASE_URL}/static/css/sc-styles.css";`:'' }
245 249 </style> */}
246 250 {show && <div className="bw-backdrop" onClick={() => handleCloseModal()}></div>}
247 251 {show && <div className={`bw-booking-popup-wraper ${step} ${window?.GDClinic?.type ? window.GDClinic.type+'-theme':'rce'}`}>