We are using code to set margin for a modal of talwind.
<body class="h-screen w-screen">
<header class="w-screen fixed z-10 flex justify-between pt-4 px-5">
<div class="logo">
<svg >
</svg>
</div>
<i class="menu-icon cursor-pointer">
<svg>
</svg>
</i>
<div class=""show absolute top-0 left-0 w-full px-5>
<nav
class="
show
flex flex-col
items-center
justify-center
w-full
py-7
bg-white
gap-4
rounded
"
id="menu"
>
<!-- nav content -->
</nav>
</div>