groundfloor-react-ui 1.0.14 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,7 +77,7 @@ const CommonDiv = styled.div`
77
77
  padding: 2rem 3rem 0rem 3rem;
78
78
  `;
79
79
 
80
- Modal.setAppElement(document.getElementById("__next") ? "#__next" : '#root')
80
+ Modal.setAppElement(window.next?.version ? "#__next" : '#root')
81
81
 
82
82
  export const ModalComp = ({
83
83
  modalIsOpen,
@@ -389,6 +389,7 @@ const defaultStyles = {
389
389
  height: '22px',
390
390
  'border-radius': '31px',
391
391
  cursor: 'pointer',
392
+ marginBottom: '0px',
392
393
  },
393
394
  'toggle-switch-option-text': {
394
395
  // 'background-color': `${defaultThemeColor.bgColor}`,