fix position
This commit is contained in:
@@ -166,6 +166,7 @@ const tg = window.Telegram?.WebApp;
|
||||
|
||||
function showAccessDenied() {
|
||||
document.body.innerHTML = '';
|
||||
document.body.style.display = 'block';
|
||||
const div = document.createElement('div');
|
||||
div.style.cssText = 'display:flex; flex-direction:column; align-items:center; justify-content:center; height:100vh; padding:24px; text-align:center; background:var(--md-sys-color-background); color:var(--md-sys-color-on-background); font-family:var(--font-brand);';
|
||||
|
||||
@@ -175,7 +176,7 @@ function showAccessDenied() {
|
||||
<p style="font-size:16px; opacity:0.7; max-width:320px; margin-bottom:32px; line-height:1.5;">
|
||||
This application is designed to be used exclusively via Telegram.
|
||||
</p>
|
||||
<a href="https://t.me/" style="background:var(--md-sys-color-primary); color:var(--md-sys-color-on-primary); padding:12px 24px; border-radius:100px; text-decoration:none; font-weight:500;">
|
||||
<a href="https://t.me/stellariseivpn_bot" style="background:var(--md-sys-color-primary); color:var(--md-sys-color-on-primary); padding:12px 24px; border-radius:100px; text-decoration:none; font-weight:500;">
|
||||
Open Telegram
|
||||
</a>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user