11 lines
368 B
CSS
11 lines
368 B
CSS
:root {
|
|
--safe-area-top: env(safe-area-inset-top);
|
|
--safe-area-right: env(safe-area-inset-right);
|
|
--safe-area-bottom: env(safe-area-inset-bottom); /* THIS ONE GETS US THE HOME BAR HEIGHT */
|
|
--safe-area-left: env(safe-area-inset-left);
|
|
}
|
|
|
|
body {
|
|
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
}
|