Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing Blank screen no body with next.js ? #739

Open
sanjampreet-singh opened this issue Apr 13, 2021 · 0 comments
Open

Showing Blank screen no body with next.js ? #739

sanjampreet-singh opened this issue Apr 13, 2021 · 0 comments

Comments

@sanjampreet-singh
Copy link

As far as I have tried

import dynamic from 'next/dynamic'

const SplitPane = dynamic(
  () => import('react-split-pane'),
  { ssr: false }
)
// import SplitPane, { Pane } from "react-split-pane";
import './temp.module.css'

const Temp = () => {
  return (
    <SplitPane split="vertical" minSize={50} defaultSize={100}>
        <div>test1 bro bro</div>
        <div>test2</div>
      </SplitPane>
  );
};

export default Temp;

In Modules

.Resizer {
  background: #000;
  opacity: 0.2;
  z-index: 1;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
}

.Resizer:hover {
  -webkit-transition: all 2s ease;
  transition: all 2s ease;
}

.Resizer.horizontal {
  height: 11px;
  margin: -5px 0;
  border-top: 5px solid rgba(255, 255, 255, 0);
  border-bottom: 5px solid rgba(255, 255, 255, 0);
  cursor: row-resize;
  width: 100%;
}

.Resizer.horizontal:hover {
  border-top: 5px solid rgba(0, 0, 0, 0.5);
  border-bottom: 5px solid rgba(0, 0, 0, 0.5);
}

.Resizer.vertical {
  width: 11px;
  margin: 0 -5px;
  border-left: 5px solid rgba(255, 255, 255, 0);
  border-right: 5px solid rgba(255, 255, 255, 0);
  cursor: col-resize;
}

.Resizer.vertical:hover {
  border-left: 5px solid rgba(0, 0, 0, 0.5);
  border-right: 5px solid rgba(0, 0, 0, 0.5);
}
.Resizer.disabled {
  cursor: not-allowed;
}
.Resizer.disabled:hover {
  border-color: transparent;
}

Any help or suggestions why its blank ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant