More components

This commit is contained in:
Max Lynch
2020-12-20 21:53:23 -06:00
parent df54b5834b
commit fdef2842ef
56 changed files with 2000 additions and 222 deletions
+10
View File
@@ -0,0 +1,10 @@
:root {
/* Safe area contains how much space I should leave from the top and returns 0 if it's not supported */
--safe-area-inset-top: env(safe-area-inset-top);
/* A replacement for 100vh */
--screen-height: calc(100vh - var(--safe-area-inset-top));
}
#nav {
padding-top: var(--safe-area-inset-top);
}