JSFiddle - React, Tailwind, and code Playground

HTML

<section class="redactor">
	<div class="container">
		<div class="menu"></div>
	</div>
</section>

CSS

body {
      overflow-y: hidden;
}
.redactor {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1500;
    margin-right: auto;
    margin-left: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    overflow-y: scroll;
}
.container {
    width: 100%;
    position: relative;
    margin: auto 0;
    height: 1000px;
}
.menu {
    position: fixed;
    z-index: 1030;
    height: 50px;
    top: 0;
    right: 0;
    left: 0;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(220, 220, 220);
}