fix: format
This commit is contained in:
@@ -5,12 +5,12 @@ body {
|
|||||||
sans-serif;
|
sans-serif;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
scrollbar-gutter: stable;
|
scrollbar-gutter: stable;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
@@ -19,41 +19,33 @@ code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#browser-content {
|
#browser-content {
|
||||||
height: 100vh; /* Ensure it takes the full viewport height */
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column; /* Stack children vertically */
|
flex-direction: column;
|
||||||
}
|
transform: scale(1); /* Ensure no scaling */
|
||||||
|
transform-origin: top left; /* Keep the position fixed */
|
||||||
.right-side-panel {
|
|
||||||
overflow-y: auto; /* Enable vertical scrolling */
|
|
||||||
height: 100%; /* Full height of its parent */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#browser-window {
|
#browser-window {
|
||||||
overflow-y: auto; /* Allow vertical scrolling within this component */
|
overflow-y: auto;
|
||||||
height: 100%; /* Set to 100% of parent height */
|
height: 100%;
|
||||||
max-height: calc(100vh - @media (max-width: 1200px) {
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1200px) {
|
||||||
#browser-content {
|
#browser-content {
|
||||||
flex-direction: column; /* Stack them vertically on smaller screens */
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-side-panel {
|
.right-side-panel {
|
||||||
height: auto; /* Allow it to adjust its height */
|
height: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure proper spacing */
|
|
||||||
.right-side-panel {
|
.right-side-panel {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 100%; /* Full height of its parent */
|
height: 100%;
|
||||||
margin: 0; /* Adjust margin as needed */
|
margin: 0;
|
||||||
|
transform: scale(1);
|
||||||
|
transform-origin: top left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Adjust padding in grid items */
|
|
||||||
.Grid {
|
|
||||||
padding: 8px; /* Add some padding for inner spacing */
|
|
||||||
}
|
|
||||||
<height_of_fixed_elements>); /* Adjust based on your fixed elements */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user