fix(spa): correct privacy policy message margin

This commit is contained in:
2025-12-25 18:18:59 +03:00
parent 6a635e1896
commit 79f23400d2

View File

@@ -1,5 +1,5 @@
<template> <template>
<div v-if="isShown" class="toast toast-center bottom-20 z-50"> <div v-if="isShown" class="toast toast-center toast-bottom-fix z-50">
<div class="alert alert-info"> <div class="alert alert-info">
<span> <span>
Используя магазин, вы соглашаетесь с Используя магазин, вы соглашаетесь с
@@ -40,3 +40,14 @@ function showPrivacyPolicy() {
} }
} }
</script> </script>
<style scoped>
.toast-bottom-fix {
bottom: calc(
var(--dock-height, 0px)
+ var(--tg-content-safe-area-inset-bottom, 0px)
+ var(--tg-safe-area-inset-bottom, 0px)
+ 5px
);
}
</style>