summaryrefslogtreecommitdiffstats
path: root/core/css/apps.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/apps.scss')
-rw-r--r--core/css/apps.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 3716a9d3154..083569eafee 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -21,9 +21,11 @@
:root {
- --body-container-margin: calc(var(--default-grid-baseline) * 2);
/* - 2px is required for making it look nice */
- --body-container-radius: calc(var(--default-clickable-area) / 2 + var(--default-grid-baseline) * 2 - 2px);
+ --border-radius-rounded: calc(var(--default-clickable-area) / 2 + var(--default-grid-baseline) * 2 - 2px);
+
+ --body-container-radius: var(--border-radius-rounded);
+ --body-container-margin: calc(var(--default-grid-baseline) * 2);
--body-height: calc(100% - env(safe-area-inset-bottom) - 50px - var(--body-container-margin));
}