Update TGBeta.ps1
This commit is contained in:
@@ -434,11 +434,14 @@ function GetHtmlContent {
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
flex-direction: column;
|
||||
height: 100vh; /* Ensure the container is limited to the viewport height */
|
||||
overflow: hidden; /* Prevent the container from exceeding the viewport height */
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
width: 200px;
|
||||
height: 100%; /* Ensure it doesn't exceed the container height */
|
||||
background-color: var(--background-color);
|
||||
padding: 10px;
|
||||
}
|
||||
@@ -467,9 +470,9 @@ function GetHtmlContent {
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
flex: 1; /* Allow the content to fill available space */
|
||||
padding: 20px;
|
||||
overflow-y: auto; /* Keeps scrolling within the content area if necessary */
|
||||
overflow-y: auto; /* Add scrolling only within the content if necessary */
|
||||
max-height: calc(100vh - 50px); /* Adjust the height dynamically to fit within the viewport */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user