This commit is contained in:
Max Lynch
2020-12-20 23:02:27 -06:00
parent fdef2842ef
commit 8b2df11c87
9 changed files with 41 additions and 23 deletions
+11
View File
@@ -0,0 +1,11 @@
const Content = ({ className, children }) => (
<div
className={`${className} flex-1 overflow-auto"`}
style={{
paddingTop: `calc(env(safe-area-inset-top, 0px) + 16px)`, // Care for the notch
}}>
{children}
</div>
);
export default Content;