From 17c5341f69cff95132ebb736d21f912c90daee13 Mon Sep 17 00:00:00 2001 From: "Timothy Z." Date: Thu, 23 Jan 2025 17:43:48 +0200 Subject: [PATCH] refactor(StreamingServerWarning): change global --- src/routes/Board/styles.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/routes/Board/styles.less b/src/routes/Board/styles.less index 3b7aa3c5f..255fb55d0 100644 --- a/src/routes/Board/styles.less +++ b/src/routes/Board/styles.less @@ -37,9 +37,9 @@ .board-warning-container { position: absolute; - bottom: 0.5rem; - left: 0.5rem; - right: 0.5rem; + bottom: calc(var(--safe-area-inset-bottom) + 0.5rem); + left: calc(var(--safe-area-inset-left) + 0.5rem); + right: calc(var(--safe-area-inset-right) + 0.5rem); } } @@ -218,8 +218,6 @@ .board-warning-container { bottom: calc(var(--vertical-nav-bar-size) + 0.5rem); - margin-left: var(--safe-area-inset-left); - margin-right: var(--safe-area-inset-right); height: 7rem; } }