diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 2062231..06d6c55 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -469,7 +469,8 @@ function GetHtmlContent { .content { flex: 1; padding: 20px; - overflow-y: auto; + overflow-y: auto; /* Keeps scrolling within the content area if necessary */ + max-height: calc(100vh - 50px); /* Adjust the height dynamically to fit within the viewport */ } .tab-content {